Merge branch 'master' into update-ios-gnu-config
This commit is contained in:
@@ -37,7 +37,8 @@ in lib.init bootStages ++ [
|
||||
# Run Packages
|
||||
(buildPackages: {
|
||||
inherit config;
|
||||
overlays = overlays ++ crossOverlays;
|
||||
overlays = overlays ++ crossOverlays
|
||||
++ (if crossSystem.isWasm then [(import ../../top-level/static.nix)] else []);
|
||||
selfBuild = false;
|
||||
stdenv = buildPackages.stdenv.override (old: rec {
|
||||
buildPlatform = localSystem;
|
||||
@@ -63,7 +64,7 @@ in lib.init bootStages ++ [
|
||||
(hostPlatform.isLinux && !buildPlatform.isLinux)
|
||||
[ buildPackages.patchelf ]
|
||||
++ lib.optional
|
||||
(let f = p: !p.isx86 || p.libc == "musl" || p.isiOS; in f hostPlatform && !(f buildPlatform))
|
||||
(let f = p: !p.isx86 || p.libc == "musl" || p.libc == "wasilibc" || p.isiOS; in f hostPlatform && !(f buildPlatform))
|
||||
buildPackages.updateAutotoolsGnuConfigScriptsHook
|
||||
# without proper `file` command, libtool sometimes fails
|
||||
# to recognize 64-bit DLLs
|
||||
|
||||
Reference in New Issue
Block a user