enpass: use python2 in update script

This commit is contained in:
Frederik Rietdijk 2019-11-13 16:18:05 +01:00
parent 45cff47dc4
commit f2668546b9

View file

@ -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}
'';
};