about summary refs log tree commit diff
path: root/pkgs/misc/gnuk
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-03-25 15:44:20 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2021-04-03 17:06:08 +0200
commitc817f6442f1266c015be30a58791671a7f8c449a (patch)
tree57aee3e42e618840f23e478d173f4a1631288c4c /pkgs/misc/gnuk
parentc85a64002c62623c41886964182d4f71d1a009f1 (diff)
gnuk: stay with python2
Diffstat (limited to 'pkgs/misc/gnuk')
-rw-r--r--pkgs/misc/gnuk/generic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/gnuk/generic.nix b/pkgs/misc/gnuk/generic.nix
index 8ed186e1ed619..b614dd52a3782 100644
--- a/pkgs/misc/gnuk/generic.nix
+++ b/pkgs/misc/gnuk/generic.nix
@@ -1,5 +1,5 @@
 { lib, stdenv, gcc-arm-embedded, binutils-arm-embedded, makeWrapper
-, python, pythonPackages
+, python2Packages
 
 # Extra options
 , device ? "fsij", vid ? "234b", pid ? "0000"
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
   inherit src;
 
   nativeBuildInputs = [ gcc-arm-embedded binutils-arm-embedded makeWrapper ];
-  buildInputs = [ python ] ++ (with pythonPackages; [ pyusb colorama ]);
+  buildInputs = with python2Packages; [ python pyusb colorama ];
 
   configurePhase = ''
     cd src