about summary refs log tree commit diff
path: root/pkgs/development/libraries/hamlib/4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/hamlib/4.nix')
-rw-r--r--pkgs/development/libraries/hamlib/4.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/hamlib/4.nix b/pkgs/development/libraries/hamlib/4.nix
index 8fde56729e837..168a0477b2f84 100644
--- a/pkgs/development/libraries/hamlib/4.nix
+++ b/pkgs/development/libraries/hamlib/4.nix
@@ -5,7 +5,7 @@
 , swig
 , gd
 , ncurses
-, python3
+, python311
 , libxml2
 , tcl
 , libusb-compat-0_1
@@ -17,7 +17,9 @@
 , tclBindings ? true
 , perlBindings ? true
 }:
-
+let
+  python3 = python311; # needs distutils and imp
+in
 stdenv.mkDerivation rec {
   pname = "hamlib";
   version = "4.5.5";