fetchurl: switch to the usual curl

I verified that krb5 doesn't need yacc in lib-only build,
simplifying the circular-reference cut.
This commit is contained in:
Vladimír Čunát
2017-12-17 11:21:12 +01:00
parent 68432fd1c9
commit 3c51628a4c
2 changed files with 8 additions and 5 deletions

View File

@@ -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 ];