mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
fetchurl on Darwin: gssSupport = false (see 9b54a00160
)
I can't see a better way around the problem for now.
This commit is contained in:
parent
c9044dee32
commit
c303047032
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkgconfig perl ]
|
nativeBuildInputs = [ pkgconfig perl ]
|
||||||
++ optional (!libOnly) yacc
|
++ optional (!libOnly) yacc
|
||||||
# Provides the mig command used by the build scripts
|
# Provides the mig command used by the build scripts
|
||||||
++ optional (stdenv.isDarwin && !libOnly) bootstrap_cmds;
|
++ optional stdenv.isDarwin bootstrap_cmds;
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
++ optionals (!libOnly) [ openldap libedit ];
|
++ optionals (!libOnly) [ openldap libedit ];
|
||||||
|
|
||||||
|
|
|
@ -184,7 +184,10 @@ with pkgs;
|
||||||
|
|
||||||
# `fetchurl' downloads a file from the network.
|
# `fetchurl' downloads a file from the network.
|
||||||
fetchurl = import ../build-support/fetchurl {
|
fetchurl = import ../build-support/fetchurl {
|
||||||
inherit stdenv curl;
|
inherit stdenv;
|
||||||
|
# On darwin, libkrb5 needs bootstrap_cmds which would require
|
||||||
|
# converting many packages to fetchurl_boot to avoid evaluation cycles.
|
||||||
|
curl = curl.override (lib.optionalAttrs stdenv.isDarwin { gssSupport = false; });
|
||||||
};
|
};
|
||||||
|
|
||||||
fetchRepoProject = callPackage ../build-support/fetchrepoproject { };
|
fetchRepoProject = callPackage ../build-support/fetchrepoproject { };
|
||||||
|
|
Loading…
Reference in a new issue