diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-05-01 16:53:51 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2017-05-01 16:54:11 +0200 |
commit | b69d04c79807e54340ebe1ce84731c21bf9df276 (patch) | |
tree | 6168a639e6d706fdd1c13d6735e6d5811e54262b /pkgs/applications | |
parent | fb3392fbfeec60ecfc583456da165b38cb8bb404 (diff) |
albert: fix build
Diffstat (limited to 'pkgs/applications')
-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 ''; |