albert: fix build

This commit is contained in:
Michael Raskin 2017-05-01 16:53:51 +02:00
parent fb3392fbfe
commit b69d04c798

View File

@ -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
'';