mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
stdenv: Simplify dispatch
This is a change for `powerpc-linux` but that is ancient and I don't think it matters. The impure bootstrap that was previously assigned to it has probably bitrotted anyways.
This commit is contained in:
parent
9d59a4df78
commit
650380ca0b
@ -38,28 +38,10 @@ let
|
||||
in
|
||||
if crossSystem != localSystem || crossOverlays != [] then stagesCross
|
||||
else if config ? replaceStdenv then stagesCustom
|
||||
else { # switch
|
||||
i686-linux = stagesLinux;
|
||||
x86_64-linux = stagesLinux;
|
||||
armv5tel-linux = stagesLinux;
|
||||
armv6l-linux = stagesLinux;
|
||||
armv6m-linux = stagesLinux;
|
||||
armv7a-linux = stagesLinux;
|
||||
armv7l-linux = stagesLinux;
|
||||
armv7r-linux = stagesLinux;
|
||||
armv7m-linux = stagesLinux;
|
||||
armv8a-linux = stagesLinux;
|
||||
armv8r-linux = stagesLinux;
|
||||
armv8m-linux = stagesLinux;
|
||||
aarch64-linux = stagesLinux;
|
||||
mipsel-linux = stagesLinux;
|
||||
mips64el-linux = stagesLinux;
|
||||
powerpc-linux = /* stagesLinux */ stagesNative;
|
||||
powerpc64-linux = stagesLinux;
|
||||
powerpc64le-linux = stagesLinux;
|
||||
riscv64-linux = stagesLinux;
|
||||
x86_64-darwin = stagesDarwin;
|
||||
aarch64-darwin = stagesDarwin;
|
||||
else if localSystem.isLinux then stagesLinux
|
||||
else if localSystem.isDarwin then stagesDarwin
|
||||
else # misc special cases
|
||||
{ # switch
|
||||
x86_64-solaris = stagesNix;
|
||||
i686-cygwin = stagesNative;
|
||||
x86_64-cygwin = stagesNative;
|
||||
|
Loading…
Reference in New Issue
Block a user