Merge remote-tracking branch 'upstream/master' into staging
Conflicts: pkgs/applications/misc/pytrainer/default.nix pkgs/development/tools/pew/default.nix pkgs/tools/misc/you-get/default.nix
This commit is contained in:
@@ -94,7 +94,9 @@ rec {
|
||||
# without proper `file` command, libtool sometimes fails
|
||||
# to recognize 64-bit DLLs
|
||||
++ stdenv.lib.optional (hostPlatform.config == "x86_64-w64-mingw32") pkgs.file
|
||||
++ stdenv.lib.optional (hostPlatform.isAarch64 || hostPlatform.libc == "musl") pkgs.updateAutotoolsGnuConfigScriptsHook
|
||||
++ stdenv.lib.optional
|
||||
(hostPlatform.isAarch64 || hostPlatform.isMips || hostPlatform.libc == "musl")
|
||||
pkgs.updateAutotoolsGnuConfigScriptsHook
|
||||
;
|
||||
|
||||
crossConfig = hostPlatform.config;
|
||||
|
||||
@@ -34,7 +34,9 @@ in bootStages ++ [
|
||||
hostPlatform = crossSystem;
|
||||
targetPlatform = crossSystem;
|
||||
cc = if crossSystem.useiOSCross or false
|
||||
then buildPackages.darwin.ios-cross
|
||||
then buildPackages.darwin.ios-cross
|
||||
else if crossSystem.useAndroidPrebuilt
|
||||
then buildPackages.androidenv.androidndkPkgs.gcc
|
||||
else buildPackages.gcc;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -45,7 +45,7 @@ in
|
||||
"armv6l-linux" = stagesLinux;
|
||||
"armv7l-linux" = stagesLinux;
|
||||
"aarch64-linux" = stagesLinux;
|
||||
"mips64el-linux" = stagesLinux;
|
||||
"mipsel-linux" = stagesLinux;
|
||||
"powerpc-linux" = /* stagesLinux */ stagesNative;
|
||||
"x86_64-darwin" = stagesDarwin;
|
||||
"x86_64-solaris" = stagesNix;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"armv6l-linux" = import ./bootstrap-files/armv6l.nix;
|
||||
"armv7l-linux" = import ./bootstrap-files/armv7l.nix;
|
||||
"aarch64-linux" = import ./bootstrap-files/aarch64.nix;
|
||||
"mips64el-linux" = import ./bootstrap-files/loongson2f.nix;
|
||||
"mipsel-linux" = import ./bootstrap-files/loongson2f.nix;
|
||||
};
|
||||
"musl" = {
|
||||
"aarch64-linux" = import ./bootstrap-files/aarch64-musl.nix;
|
||||
@@ -40,7 +40,7 @@ let
|
||||
export NIX_ENFORCE_PURITY="''${NIX_ENFORCE_PURITY-1}"
|
||||
export NIX_ENFORCE_NO_NATIVE="''${NIX_ENFORCE_NO_NATIVE-1}"
|
||||
${if system == "x86_64-linux" then "NIX_LIB64_IN_SELF_RPATH=1" else ""}
|
||||
${if system == "mips64el-linux" then "NIX_LIB32_IN_SELF_RPATH=1" else ""}
|
||||
${if system == "mipsel-linux" then "NIX_LIB32_IN_SELF_RPATH=1" else ""}
|
||||
'';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user