diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fff3a7b31a4b..e0ff73db94c9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 '';