mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Renamed the darwin stdenv to powerpc-darwin, since i686-darwin uses stdenv/nix.
svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10812
This commit is contained in:
parent
662bea8e0c
commit
1d49f0daff
@ -46,7 +46,7 @@ rec {
|
|||||||
|
|
||||||
# The Nix build environment.
|
# The Nix build environment.
|
||||||
stdenvNix = (import ./nix) (rec {
|
stdenvNix = (import ./nix) (rec {
|
||||||
stdenv = if system == "i686-darwin" then stdenvDarwin else stdenvNative; # !!! hack
|
stdenv = if system == "i686-darwin" then stdenvPowerpcDarwin else stdenvNative; # !!! hack
|
||||||
pkgs = allPackages {
|
pkgs = allPackages {
|
||||||
inherit system;
|
inherit system;
|
||||||
bootStdenv = removeAttrs stdenv ["gcc"]; # Hack
|
bootStdenv = removeAttrs stdenv ["gcc"]; # Hack
|
||||||
@ -59,9 +59,9 @@ rec {
|
|||||||
stdenvLinux = (import ./linux {inherit system allPackages;}).stdenvLinux;
|
stdenvLinux = (import ./linux {inherit system allPackages;}).stdenvLinux;
|
||||||
|
|
||||||
|
|
||||||
# Darwin (Mac OS X) standard environment. Very simple for now
|
# powerpc-darwin (Mac OS X) standard environment. Very simple for now
|
||||||
# (essentially it's just the native environment).
|
# (essentially it's just the native environment).
|
||||||
stdenvDarwin = (import ./darwin) {
|
stdenvPowerpcDarwin = (import ./powerpc-darwin) {
|
||||||
stdenv = stdenvInitial;
|
stdenv = stdenvInitial;
|
||||||
inherit genericStdenv gccWrapper;
|
inherit genericStdenv gccWrapper;
|
||||||
};
|
};
|
||||||
@ -97,7 +97,7 @@ rec {
|
|||||||
if stdenvType == "i686-freebsd" then stdenvFreeBSD else
|
if stdenvType == "i686-freebsd" then stdenvFreeBSD else
|
||||||
if stdenvType == "i686-cygwin" then stdenvCygwin else
|
if stdenvType == "i686-cygwin" then stdenvCygwin else
|
||||||
if stdenvType == "i686-mingw" then stdenvMinGW else
|
if stdenvType == "i686-mingw" then stdenvMinGW else
|
||||||
if stdenvType == "powerpc-darwin" then stdenvDarwin else
|
if stdenvType == "powerpc-darwin" then stdenvPowerpcDarwin else
|
||||||
if stdenvType == "i686-darwin" then stdenvNix else
|
if stdenvType == "i686-darwin" then stdenvNix else
|
||||||
stdenvNative;
|
stdenvNative;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user