bind: move defaults to package file
This commit is contained in:
parent
be79fc5c33
commit
a111b5fde4
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, fetchurl
|
{ config, stdenv, lib, fetchurl
|
||||||
, perl
|
, perl
|
||||||
, libcap, libtool, libxml2, openssl
|
, libcap, libtool, libxml2, openssl
|
||||||
, enablePython ? false, python3 ? null
|
, enablePython ? config.bind.enablePython or false, python3 ? null
|
||||||
, enableSeccomp ? false, libseccomp ? null, buildPackages
|
, enableSeccomp ? false, libseccomp ? null, buildPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libtool libxml2 openssl ]
|
buildInputs = [ libtool libxml2 openssl ]
|
||||||
++ lib.optional stdenv.isLinux libcap
|
++ lib.optional stdenv.isLinux libcap
|
||||||
++ lib.optional enableSeccomp libseccomp
|
++ lib.optional enableSeccomp libseccomp
|
||||||
++ lib.optional enablePython python3;
|
++ lib.optional enablePython (python3.withPackages (ps: with ps; [ ply ]));
|
||||||
|
|
||||||
STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
|
STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
|
||||||
|
|
||||||
|
@ -13446,10 +13446,7 @@ in
|
|||||||
|
|
||||||
bftpd = callPackage ../servers/ftp/bftpd {};
|
bftpd = callPackage ../servers/ftp/bftpd {};
|
||||||
|
|
||||||
bind = callPackage ../servers/dns/bind {
|
bind = callPackage ../servers/dns/bind { };
|
||||||
enablePython = config.bind.enablePython or false;
|
|
||||||
python3 = python3.withPackages (ps: with ps; [ ply ]);
|
|
||||||
};
|
|
||||||
dnsutils = bind.dnsutils;
|
dnsutils = bind.dnsutils;
|
||||||
|
|
||||||
inherit (callPackages ../servers/bird { })
|
inherit (callPackages ../servers/bird { })
|
||||||
|
Loading…
Reference in New Issue
Block a user