afew: forgot to add --replace

This commit is contained in:
Rok Garbas 2013-11-03 18:58:27 +01:00
parent 795753bbc6
commit 61e0337a5c

View File

@ -206,8 +206,11 @@ pythonPackages = modules // import ./python-packages-generated.nix {
doCheck = false;
preConfigure = ''
substituteInPlace afew/DBACL.py --replace "'dbacl'" "'${pkgs.dbacl}/bin/dbacl'"
'';
postInstall = ''
substituteInPlace afew/DBACL.py "'dbacl'" "'${pkgs.dbacl}/bin/dbacl'"
wrapProgram $out/bin/afew \
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib
'';