diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-05-21 14:51:02 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-22 17:52:27 -0400 |
commit | c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c (patch) | |
tree | c83f3c3b37e42462fc7b60c8bfa39f856f569c38 /pkgs/stdenv/nix | |
parent | 8f970d09fe8e895b6bb7dbf52f80411a45504b19 (diff) |
cc-wrapper: Remove `stdenv.is*` for `targetPlatform.is*`
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
Diffstat (limited to 'pkgs/stdenv/nix')
-rw-r--r-- | pkgs/stdenv/nix/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/nix/default.nix b/pkgs/stdenv/nix/default.nix index ef088ecbf6440..2363fb966e7a3 100644 --- a/pkgs/stdenv/nix/default.nix +++ b/pkgs/stdenv/nix/default.nix @@ -30,6 +30,7 @@ bootStages ++ [ nativeTools = false; nativePrefix = stdenv.lib.optionalString hostPlatform.isSunOS "/usr"; nativeLibc = true; + targetPlatform = localSystem; inherit stdenv; inherit (prevStage) binutils coreutils gnugrep; cc = prevStage.gcc.cc; |