aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/kerberos
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-12-17 11:21:12 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-12-19 15:17:52 +0100
commit3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2 (patch)
treedfda21146b1180d749a53d1563459ffa4d05a2b5 /pkgs/development/libraries/kerberos
parent68432fd1c99f3cad303ce2ba495419c762e93d96 (diff)
fetchurl: switch to the usual curl
I verified that krb5 doesn't need yacc in lib-only build, simplifying the circular-reference cut.
Diffstat (limited to 'pkgs/development/libraries/kerberos')
-rw-r--r--pkgs/development/libraries/kerberos/krb5.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix
index 1e64a4d66005..64fa3d3d7d66 100644
--- a/pkgs/development/libraries/kerberos/krb5.nix
+++ b/pkgs/development/libraries/kerberos/krb5.nix
@@ -22,9 +22,10 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-tcl=no" "--localstatedir=/var/lib"]
++ optional stdenv.isFreeBSD ''WARN_CFLAGS=""'';
- nativeBuildInputs = [ pkgconfig perl yacc ]
+ nativeBuildInputs = [ pkgconfig perl ]
+ ++ optional (!libOnly) yacc
# Provides the mig command used by the build scripts
- ++ optional stdenv.isDarwin bootstrap_cmds;
+ ++ optional (stdenv.isDarwin && !libOnly) bootstrap_cmds;
buildInputs = [ openssl ]
++ optionals (!libOnly) [ openldap libedit ];