about summary refs log tree commit diff
path: root/pkgs/tools/security/pass
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2022-09-29 18:40:30 -0300
committerDavid McFarland <corngood@gmail.com>2022-09-29 18:40:30 -0300
commitd1d0aa0d88cc7add01a7d577c4e9b18fc9394f5a (patch)
tree346dfc78a7bf3e781acb51ca3f5ad5d7d74767db /pkgs/tools/security/pass
parente295c223cd6706aec0d7c498cd39272e23605e52 (diff)
pass-genphrase: fix error when run without python in PATH
Diffstat (limited to 'pkgs/tools/security/pass')
-rw-r--r--pkgs/tools/security/pass/extensions/genphrase.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/security/pass/extensions/genphrase.nix b/pkgs/tools/security/pass/extensions/genphrase.nix
index dff64d7f18551..c8a1f730e049a 100644
--- a/pkgs/tools/security/pass/extensions/genphrase.nix
+++ b/pkgs/tools/security/pass/extensions/genphrase.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub }:
+{ lib, stdenv, fetchFromGitHub, python3 }:
 
 stdenv.mkDerivation rec {
   pname = "pass-genphrase";
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
 
   dontBuild = true;
 
+  buildInputs = [ python3 ];
+
   installTargets = [ "globalinstall" ];
 
   installFlags = [ "PREFIX=$(out)" ];