Skip to content

Commit

Permalink
fetchurl on Darwin: gssSupport = false (see 9b54a00)
Browse files Browse the repository at this point in the history
I can't see a better way around the problem for now.
  • Loading branch information
vcunat committed Dec 21, 2017
1 parent c9044de commit c303047
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/kerberos/krb5.nix
Expand Up @@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig perl ]
++ optional (!libOnly) yacc
# Provides the mig command used by the build scripts
++ optional (stdenv.isDarwin && !libOnly) bootstrap_cmds;
++ optional stdenv.isDarwin bootstrap_cmds;
buildInputs = [ openssl ]
++ optionals (!libOnly) [ openldap libedit ];

Expand Down
5 changes: 4 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -184,7 +184,10 @@ with pkgs;

# `fetchurl' downloads a file from the network.
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 { };
Expand Down

0 comments on commit c303047

Please sign in to comment.