Skip to content

Commit

Permalink
darwin-stdenv, cc-wrapper: Fix eval on darwin
Browse files Browse the repository at this point in the history
Need to refer directly to `darwin.binutils` as on Linux, `binutils`
doesn't take a `cctools` parameter. Persist `darwin.binutils` from the
previous stage too, so no hashes change.
  • Loading branch information
Ericson2314 committed Sep 14, 2017
1 parent 85cd273 commit 446f185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/stdenv/darwin/default.nix
Expand Up @@ -260,7 +260,7 @@ in rec {
};

darwin = super.darwin // {
inherit (darwin) dyld Libsystem cctools libiconv;
inherit (darwin) dyld Libsystem binutils cctools libiconv;
};
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -4786,7 +4786,7 @@ with pkgs;
clang-sierraHack = clang.override {
name = "clang-wrapper-with-reexport-hack";
useMacosReexportHack = true;
binutils = binutils.override {
binutils = darwin.binutils.override {
cctools = darwin.cctools.override {
enableDumpNormalizedLibArgs = true;
};
Expand Down

0 comments on commit 446f185

Please sign in to comment.