move pure stdenv into a new directory, bring back the old one

remove __impure from non-darwin OSes
This commit is contained in:
Jude Taylor
2015-06-18 13:19:34 -07:00
parent 87bca3698a
commit fe75f16032
8 changed files with 830 additions and 267 deletions
+7 -1
View File
@@ -37,7 +37,13 @@ rec {
stdenvLinux = (import ./linux { inherit system allPackages platform config lib; }).stdenvLinux;
# Darwin standard environment.
stdenvDarwin = (import ./darwin { inherit system allPackages platform config;}).stage5;
stdenvDarwin = (import ./darwin { inherit system allPackages platform config;}).stdenvDarwin;
# Pure Darwin standard environment. Allows building with the sandbox enabled. To use,
# you can add this to your nixpkgs config:
#
# replaceStdenv = {pkgs}: pkgs.allStdenvs.stdenvDarwinPure
stdenvDarwinPure = (import ./pure-darwin { inherit system allPackages platform config;}).stage5;
# Select the appropriate stdenv for the platform `system'.
stdenv =