3
0
Fork 0
forked from mirrors/nixpkgs

Merge #218219: pkgsMusl: disable for i686-linux

This commit is contained in:
Vladimír Čunát 2023-03-04 14:01:33 +01:00
commit df4084e1dd
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -199,8 +199,8 @@ let
# All packages built with the Musl libc. This will override the
# default GNU libc on Linux systems. Non-Linux systems are not
# supported.
pkgsMusl = if stdenv.hostPlatform.isLinux then nixpkgsFun {
# supported. 32-bit is also not supported.
pkgsMusl = if stdenv.hostPlatform.isLinux && stdenv.buildPlatform.is64bit then nixpkgsFun {
overlays = [ (self': super': {
pkgsMusl = super';
})] ++ overlays;
@ -208,7 +208,7 @@ let
then "localSystem" else "crossSystem"} = {
parsed = makeMuslParsedPlatform stdenv.hostPlatform.parsed;
};
} else throw "Musl libc only supports Linux systems.";
} else throw "Musl libc only supports 64-bit Linux systems.";
# All packages built for i686 Linux.
# Used by wine, firefox with debugging version of Flash, ...