lib/systems: musl, libc predicates
Note this doesn't actually provide musl support yet, just improves our "system" code to understand musl-based triples and non-glibc linux configurations.
This commit is contained in:
@@ -33,6 +33,9 @@ rec {
|
||||
Windows = { kernel = kernels.windows; };
|
||||
Cygwin = { kernel = kernels.windows; abi = abis.cygnus; };
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user