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/linux | |
parent | 8f970d09fe8e895b6bb7dbf52f80411a45504b19 (diff) | |
download | nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.tar nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.tar.gz nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.tar.bz2 nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.tar.lz nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.tar.xz nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.tar.zst nixlib-c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c.zip |
cc-wrapper: Remove `stdenv.is*` for `targetPlatform.is*`
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index b3399cc29b34..b23d1cd01737 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -76,6 +76,7 @@ let else lib.makeOverridable (import ../../build-support/cc-wrapper) { nativeTools = false; nativeLibc = false; + targetPlatform = localSystem; cc = prevStage.gcc-unwrapped; isGNU = true; libc = prevStage.glibc; @@ -239,6 +240,7 @@ in nativeTools = false; nativeLibc = false; isGNU = true; + targetPlatform = localSystem; cc = prevStage.gcc-unwrapped; libc = self.glibc; inherit (self) stdenv binutils coreutils gnugrep; |