albert: fix build
This commit is contained in:
parent
fb3392fbfe
commit
b69d04c798
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user