mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
nixpkgs/bind: use python3
This commit is contained in:
parent
9826f5cc3c
commit
a2e40f7254
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user