summary refs log tree commit diff
path: root/pkgs/stdenv/nix
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-02-13 18:01:04 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-22 17:52:27 -0400
commit459f1c60f5e53acb96123a7da8463d1e21093426 (patch)
tree06e08a7d7f100469d611b689e7e4cfeb05b01ae4 /pkgs/stdenv/nix
parentc4ba2e3ef691c349bcce2b1e8b76a0bcd253544c (diff)
downloadnixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar
nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.gz
nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.bz2
nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.lz
nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.xz
nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.zst
nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.zip
cc-wrapper: Learn about target prefixes
This is first step towards getting rid of gcc-wrapper-cross
Diffstat (limited to 'pkgs/stdenv/nix')
-rw-r--r--pkgs/stdenv/nix/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/nix/default.nix b/pkgs/stdenv/nix/default.nix
index 2363fb966e7a..7ab797ce91ba 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;
+        hostPlatform = localSystem;
         targetPlatform = localSystem;
         inherit stdenv;
         inherit (prevStage) binutils coreutils gnugrep;