git.iko.soy/typeable/nixpkgs
on master help sign in
fetchurl on Darwin: gssSupport = false (see 9b54a00160)

I can't see a better way around the problem for now.

commitc303047032c44927402cb85a4f2a8094230594ed authorVladimír Čunát <vcunat@gmail.com> dateThu 21 Dec 2017, 09:33 (9 years ago) parentc9044de
2 files changed+5−2
pkgs/development/libraries/kerberos/krb5.nix+1−1 pkgs/top-level/all-packages.nix+4−1
pkgs/development/libraries/kerberos/krb5.nix+1−1
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 nativeBuildInputs = [ pkgconfig perl ]
2828 ++ optional (!libOnly) yacc
2929 # Provides the mig command used by the build scripts
30− ++ optional (stdenv.isDarwin && !libOnly) bootstrap_cmds;
30+ ++ optional stdenv.isDarwin bootstrap_cmds;
3131 buildInputs = [ openssl ]
3232 ++ optionals (!libOnly) [ openldap libedit ];
3333
pkgs/top-level/all-packages.nix+4−1
@@ -184,7 +184,10 @@ with pkgs;
184184
185185 # `fetchurl' downloads a file from the network.
186186 fetchurl = import ../build-support/fetchurl {
187− inherit stdenv curl;
187+ inherit stdenv;
188+ # On darwin, libkrb5 needs bootstrap_cmds which would require
189+ # converting many packages to fetchurl_boot to avoid evaluation cycles.
190+ curl = curl.override (lib.optionalAttrs stdenv.isDarwin { gssSupport = false; });
188191 };
189192
190193 fetchRepoProject = callPackage ../build-support/fetchrepoproject { };