summary refs log tree commit diff
path: root/pkgs/stdenv/native
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-05-21 14:51:02 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-22 17:52:27 -0400
commitc4ba2e3ef691c349bcce2b1e8b76a0bcd253544c (patch)
treec83f3c3b37e42462fc7b60c8bfa39f856f569c38 /pkgs/stdenv/native
parent8f970d09fe8e895b6bb7dbf52f80411a45504b19 (diff)
downloadnixlib-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/native')
-rw-r--r--pkgs/stdenv/native/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix
index 77c868a02f88..3bcd0687bc6e 100644
--- a/pkgs/stdenv/native/default.nix
+++ b/pkgs/stdenv/native/default.nix
@@ -125,6 +125,7 @@ in
         "i686-solaris" = "/usr/gnu";
         "x86_64-solaris" = "/opt/local/gcc47";
       }.${system} or "/usr";
+      targetPlatform = localSystem;
       inherit stdenv;
     };