diff --git a/pkgs/tools/system/testdisk/default.nix b/pkgs/tools/system/testdisk/default.nix index 8bc290d6a673..9fe76c59052f 100644 --- a/pkgs/tools/system/testdisk/default.nix +++ b/pkgs/tools/system/testdisk/default.nix @@ -26,6 +26,11 @@ assert enableQt -> qwt != null; sha256 = "1zlh44w67py416hkvw6nrfmjickc2d43v51vcli5p374d5sw84ql"; }; + postPatch = '' + substituteInPlace linux/qphotorec.desktop \ + --replace "/usr" "$out" + ''; + enableParallelBuilding = true; buildInputs = [