summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/servers/dns/bind/default.nix6
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix
index c52761e66b6f..427497bff0f9 100644
--- a/pkgs/servers/dns/bind/default.nix
+++ b/pkgs/servers/dns/bind/default.nix
@@ -1,9 +1,9 @@
 { stdenv, lib, fetchurl, openssl, libtool, perl, libxml2
 , enableSeccomp ? false, libseccomp ? null
-, enablePython ? false, python ? null }:
+, enablePython ? false, python3 ? null }:
 
 assert enableSeccomp -> libseccomp != null;
-assert enablePython -> python != null;
+assert enablePython -> python3 != null;
 
 let version = "9.11.2"; in
 
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ openssl libtool perl libxml2 ]
     ++ lib.optional enableSeccomp libseccomp
-    ++ lib.optional enablePython python;
+    ++ lib.optional enablePython python3;
 
   STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
 
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 35bf5e73d1c4..3ff006b36caa 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -11464,7 +11464,7 @@ with pkgs;
 
   bind = callPackage ../servers/dns/bind {
     enablePython = config.bind.enablePython or false;
-    python = python.withPackages (ps: with ps; [ ply ]);
+    python3 = python3.withPackages (ps: with ps; [ ply ]);
   };
   dnsutils = bind.dnsutils;