mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Drop "isGlibc", but keep isMusl.
gnu "abi" doesn't mean glibc (mingw, apparently).
This commit is contained in:
parent
2dfee94fe7
commit
f090bbb248
@ -26,8 +26,7 @@ rec {
|
||||
libc =
|
||||
/**/ if final.isDarwin then "libSystem"
|
||||
else if final.isMinGW then "msvcrt"
|
||||
else if final.isLinux && final.isGlibc then "glibc"
|
||||
else if final.isLinux && final.isMusl then "musl"
|
||||
else if final.isMusl then "musl"
|
||||
else if final.isLinux /* default */ then "glibc"
|
||||
# TODO(@Ericson2314) think more about other operating systems
|
||||
else "native/impure";
|
||||
|
@ -35,7 +35,6 @@ rec {
|
||||
MinGW = { kernel = kernels.windows; abi = abis.gnu; };
|
||||
|
||||
Musl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ];
|
||||
Glibc = with abis; map (a: { abi = a; }) [ gnu gnueabi gnueabihf ];
|
||||
};
|
||||
|
||||
matchAnyAttrs = patterns:
|
||||
|
Loading…
Reference in New Issue
Block a user