diff options
Diffstat (limited to 'pkgs/applications/misc/albert')
-rw-r--r-- | pkgs/applications/misc/albert/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/misc/albert/default.nix b/pkgs/applications/misc/albert/default.nix index 416bd8682b62..80e77858a06b 100644 --- a/pkgs/applications/misc/albert/default.nix +++ b/pkgs/applications/misc/albert/default.nix @@ -15,13 +15,22 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase qtsvg qtx11extras muparser ]; - #enableParallelBuilding = true; + enableParallelBuilding = true; postPatch = '' sed -i "/QStringList dirs = {/a \"$out/lib\"," \ src/lib/albert/src/albert/extensionmanager.cpp ''; + preBuild = '' + mkdir -p "$out/" + ln -s "$PWD/lib" "$out/lib" + ''; + + postBuild = '' + rm "$out/lib" + ''; + fixupPhase = '' wrapQtProgram $out/bin/albert ''; |