git.iko.soy/typeable/nixpkgs
on master help sign in
nixpkgs/bind: use python3
commita2e40f72547a888066698a41fa54ca4c675aaad0 authorGregor Kleen <pngwjpgh@users.noreply.github.com> dateFri 17 Nov 2017, 14:03 (9 years ago) parent9826f5c
2 files changed+4−4
pkgs/servers/dns/bind/default.nix+3−3 pkgs/top-level/all-packages.nix+1−1
pkgs/servers/dns/bind/default.nix+3−3
@@ -1,9 +1,9 @@
11{ stdenv, lib, fetchurl, openssl, libtool, perl, libxml2
22, enableSeccomp ? false, libseccomp ? null
3−, enablePython ? false, python ? null }:
3+, enablePython ? false, python3 ? null }:
44
55assert enableSeccomp -> libseccomp != null;
6−assert enablePython -> python != null;
6+assert enablePython -> python3 != null;
77
88let version = "9.11.2"; in
99
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 buildInputs = [ openssl libtool perl libxml2 ]
2424 ++ lib.optional enableSeccomp libseccomp
25− ++ lib.optional enablePython python;
25+ ++ lib.optional enablePython python3;
2626
2727 STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
2828
pkgs/top-level/all-packages.nix+1−1
@@ -11464,7 +11464,7 @@ with pkgs;
1146411464
1146511465 bind = callPackage ../servers/dns/bind {
1146611466 enablePython = config.bind.enablePython or false;
11467− python = python.withPackages (ps: with ps; [ ply ]);
11467+ python3 = python3.withPackages (ps: with ps; [ ply ]);
1146811468 };
1146911469 dnsutils = bind.dnsutils;
1147011470