nixpkgs/bind: use python3
This commit is contained in:
parent
9826f5cc3c
commit
a2e40f7254
@ -1,9 +1,9 @@
|
|||||||
{ stdenv, lib, fetchurl, openssl, libtool, perl, libxml2
|
{ stdenv, lib, fetchurl, openssl, libtool, perl, libxml2
|
||||||
, enableSeccomp ? false, libseccomp ? null
|
, enableSeccomp ? false, libseccomp ? null
|
||||||
, enablePython ? false, python ? null }:
|
, enablePython ? false, python3 ? null }:
|
||||||
|
|
||||||
assert enableSeccomp -> libseccomp != null;
|
assert enableSeccomp -> libseccomp != null;
|
||||||
assert enablePython -> python != null;
|
assert enablePython -> python3 != null;
|
||||||
|
|
||||||
let version = "9.11.2"; in
|
let version = "9.11.2"; in
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ openssl libtool perl libxml2 ]
|
buildInputs = [ openssl libtool perl libxml2 ]
|
||||||
++ lib.optional enableSeccomp libseccomp
|
++ lib.optional enableSeccomp libseccomp
|
||||||
++ lib.optional enablePython python;
|
++ lib.optional enablePython python3;
|
||||||
|
|
||||||
STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
|
STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
|
||||||
|
|
||||||
|
@ -11464,7 +11464,7 @@ with pkgs;
|
|||||||
|
|
||||||
bind = callPackage ../servers/dns/bind {
|
bind = callPackage ../servers/dns/bind {
|
||||||
enablePython = config.bind.enablePython or false;
|
enablePython = config.bind.enablePython or false;
|
||||||
python = python.withPackages (ps: with ps; [ ply ]);
|
python3 = python3.withPackages (ps: with ps; [ ply ]);
|
||||||
};
|
};
|
||||||
dnsutils = bind.dnsutils;
|
dnsutils = bind.dnsutils;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user