From a2e40f72547a888066698a41fa54ca4c675aaad0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 17 Nov 2017 14:03:30 +0100 Subject: nixpkgs/bind: use python3 --- pkgs/servers/dns/bind/default.nix | 6 +++--- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs') 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; -- cgit 1.4.1