diff options
author | Joel Taylor <me@joelt.io> | 2014-08-17 13:17:13 -0700 |
---|---|---|
committer | Joel Taylor <me@joelt.io> | 2014-09-09 13:54:24 -0700 |
commit | 3e8344d334d42824ac3061a919ac15b19a1bf21d (patch) | |
tree | 5ecad4218357caec8ddc27d5df150a5734db0281 /pkgs/stdenv/default.nix | |
parent | e3fd4499ef296f4769cf4e9e91f1ccfd16325b0f (diff) | |
download | nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.gz nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.bz2 nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.lz nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.xz nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.tar.zst nixpkgs-3e8344d334d42824ac3061a919ac15b19a1bf21d.zip |
suitable clang stdenv
Diffstat (limited to 'pkgs/stdenv/default.nix')
-rw-r--r-- | pkgs/stdenv/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/stdenv/default.nix b/pkgs/stdenv/default.nix index 47d1fb6d9f7..8e8be748795 100644 --- a/pkgs/stdenv/default.nix +++ b/pkgs/stdenv/default.nix @@ -33,6 +33,12 @@ rec { pkgs = stdenvNativePkgs; }; + stdenvDarwin = import ./darwin { + inherit config; + stdenv = stdenvNative; + pkgs = stdenvNativePkgs; + }; + # Linux standard environment. stdenvLinux = (import ./linux { inherit system allPackages platform config;}).stdenvLinux; @@ -47,7 +53,7 @@ rec { if system == "armv7l-linux" then stdenvLinux else if system == "mips64el-linux" then stdenvLinux else if system == "powerpc-linux" then /* stdenvLinux */ stdenvNative else - if system == "x86_64-darwin" then stdenvNix else + if system == "x86_64-darwin" then stdenvDarwin else if system == "x86_64-solaris" then stdenvNix else stdenvNative; } |