summary refs log tree commit diff
path: root/pkgs/stdenv/freebsd/default.nix
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/freebsd/default.nix
parent8f970d09fe8e895b6bb7dbf52f80411a45504b19 (diff)
cc-wrapper: Remove `stdenv.is*` for `targetPlatform.is*`
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
Diffstat (limited to 'pkgs/stdenv/freebsd/default.nix')
-rw-r--r--pkgs/stdenv/freebsd/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/freebsd/default.nix b/pkgs/stdenv/freebsd/default.nix
index 474a467e90c3c..20be86e5f9633 100644
--- a/pkgs/stdenv/freebsd/default.nix
+++ b/pkgs/stdenv/freebsd/default.nix
@@ -77,6 +77,7 @@ let inherit (localSystem) system; in
         nativeTools  = true;
         nativePrefix = "/usr";
         nativeLibc   = true;
+        targetPlatform = localSystem;
         inherit (prevStage) stdenv;
         cc           = {
           name    = "clang-9.9.9";