diff options
author | illustris <rharikrishnan95@gmail.com> | 2021-10-29 17:27:33 +0530 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-10-30 09:48:28 -0700 |
commit | 185e6a477ad5540c110e9c631a8a93cfa40d8b8a (patch) | |
tree | 4dc2f6641320b986a94c56d8f9a39906857a6741 /pkgs/servers/dns | |
parent | 02ac19b524467e1de5b1efb3853a496b936f8df2 (diff) |
sssd: 1.16.5 -> 2.6.0, fix broken build
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/bind/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix index 753a361fc18b0..19b3a25de5956 100644 --- a/pkgs/servers/dns/bind/default.nix +++ b/pkgs/servers/dns/bind/default.nix @@ -1,13 +1,12 @@ { config, stdenv, lib, fetchurl, fetchpatch , perl, pkg-config , libcap, libtool, libxml2, openssl, libuv -, enablePython ? config.bind.enablePython or false, python3 ? null -, enableSeccomp ? false, libseccomp ? null, buildPackages, nixosTests +, enableGSSAPI ? true, libkrb5 +, enablePython ? false, python3 +, enableSeccomp ? false, libseccomp +, buildPackages, nixosTests }: -assert enableSeccomp -> libseccomp != null; -assert enablePython -> python3 != null; - stdenv.mkDerivation rec { pname = "bind"; version = "9.16.16"; @@ -28,6 +27,7 @@ stdenv.mkDerivation rec { buildInputs = [ libtool libxml2 openssl libuv ] ++ lib.optional stdenv.isLinux libcap ++ lib.optional enableSeccomp libseccomp + ++ lib.optional enableGSSAPI libkrb5 ++ lib.optional enablePython (python3.withPackages (ps: with ps; [ ply ])); depsBuildBuild = [ buildPackages.stdenv.cc ]; @@ -39,7 +39,6 @@ stdenv.mkDerivation rec { "--without-atf" "--without-dlopen" "--without-docbook-xsl" - "--without-gssapi" "--without-idn" "--without-idnlib" "--without-lmdb" @@ -53,6 +52,7 @@ stdenv.mkDerivation rec { "--with-aes" ] ++ lib.optional stdenv.isLinux "--with-libcap=${libcap.dev}" ++ lib.optional enableSeccomp "--enable-seccomp" + ++ lib.optional enableGSSAPI "--with-gssapi=${libkrb5.dev}" ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "BUILD_CC=$(CC_FOR_BUILD)"; postInstall = '' |