summary refs log tree commit diff
path: root/pkgs/tools/security/enpass
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-11-13 16:18:05 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-11-13 16:27:38 +0100
commitf2668546b9c61b6f0beba91d33567dcb61c6a891 (patch)
treeb52358e009e2df861fd62c1835c140f2896dfa42 /pkgs/tools/security/enpass
parent45cff47dc450f6244fc8bcaa4f6fd4fc507a4dd3 (diff)
downloadnixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.tar
nixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.tar.gz
nixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.tar.bz2
nixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.tar.lz
nixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.tar.xz
nixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.tar.zst
nixpkgs-f2668546b9c61b6f0beba91d33567dcb61c6a891.zip
enpass: use python2 in update script
Diffstat (limited to 'pkgs/tools/security/enpass')
-rw-r--r--pkgs/tools/security/enpass/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/enpass/default.nix b/pkgs/tools/security/enpass/default.nix
index 89e09a47858..3cb5c1163e5 100644
--- a/pkgs/tools/security/enpass/default.nix
+++ b/pkgs/tools/security/enpass/default.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchurl, dpkg, xorg
 , glib, libGLU_combined, libpulseaudio, zlib, dbus, fontconfig, freetype
 , gtk3, pango
-, makeWrapper , python, pythonPackages, lib
+, makeWrapper , python2Packages, lib
 , lsof, curl, libuuid, cups, mesa
 }:
 
@@ -84,9 +84,9 @@ let
       name = "enpass-update-script";
       SCRIPT =./update_script.py;
 
-      buildInputs = with pythonPackages; [python requests pathlib2 six attrs ];
+      buildInputs = with python2Packages; [python requests pathlib2 six attrs ];
       shellHook = ''
-      exec python $SCRIPT --target pkgs/tools/security/enpass/data.json --repo ${baseUrl}
+        exec python $SCRIPT --target pkgs/tools/security/enpass/data.json --repo ${baseUrl}
       '';
 
     };