diff options
author | Robert Schütz <nix@dotlambda.de> | 2024-03-29 16:34:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 16:34:35 +0000 |
commit | e5d16f61b07def2fb786b930c8b178ae4695f7fe (patch) | |
tree | 85d63da7afe40ef7c7e0c8ffeca7e4a457308635 /pkgs/tools/security | |
parent | 26fe76d420810bdb520f80fee17635902f9a2fe6 (diff) | |
parent | e3a18722cd5e016ad2cbea19fafbd89cebe798c8 (diff) |
Merge pull request #299620 from dotlambda/passExtensions.pass-audit
passExtensions.pass-audit: fix tests
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/pass/extensions/audit/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/security/pass/extensions/audit/default.nix b/pkgs/tools/security/pass/extensions/audit/default.nix index 365f81759cce1..055af774a6245 100644 --- a/pkgs/tools/security/pass/extensions/audit/default.nix +++ b/pkgs/tools/security/pass/extensions/audit/default.nix @@ -11,7 +11,7 @@ in stdenv.mkDerivation rec { owner = "roddhjav"; repo = "pass-audit"; rev = "v${version}"; - sha256 = "sha256-xigP8LxRXITLF3X21zhWx6ooFNSTKGv46yFSt1dd4vs="; + hash = "sha256-xigP8LxRXITLF3X21zhWx6ooFNSTKGv46yFSt1dd4vs="; }; patches = [ @@ -21,9 +21,9 @@ in stdenv.mkDerivation rec { postPatch = '' substituteInPlace audit.bash \ - --replace 'python3' "${pythonEnv}/bin/python3" + --replace-fail 'python3' "${pythonEnv.interpreter}" substituteInPlace Makefile \ - --replace "install --root" "install --prefix ''' --root" + --replace-fail "install --root" "install --prefix ''' --root" ''; outputs = [ "out" "man" ]; @@ -35,7 +35,7 @@ in stdenv.mkDerivation rec { doCheck = !stdenv.isDarwin; nativeCheckInputs = [ pythonPackages.green pass gnupg ]; checkPhase = '' - ${pythonEnv}/bin/python3 setup.py green -q + ${pythonEnv.interpreter} -m green -q ''; installFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" ]; |