diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-12-17 11:21:12 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-12-19 15:17:52 +0100 |
commit | 3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2 (patch) | |
tree | dfda21146b1180d749a53d1563459ffa4d05a2b5 /pkgs/development/libraries/kerberos | |
parent | 68432fd1c99f3cad303ce2ba495419c762e93d96 (diff) | |
download | nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.tar nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.tar.gz nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.tar.bz2 nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.tar.lz nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.tar.xz nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.tar.zst nixlib-3c51628a4c94cefa766bc9eba7e8740d2d7ef6e2.zip |
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.nix | 5 |
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 ]; |