diff options
author | John Ericson <git@JohnEricson.me> | 2021-08-20 13:10:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 13:10:21 -0400 |
commit | 10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c (patch) | |
tree | f08819366a477463f8ea8640946f45ec0ec26959 | |
parent | 7ab1f26bd41853f9c76a5d394871777cf8f41e4a (diff) | |
parent | 273bab6bb6d040a18d0fc7f00ea797faefa7b991 (diff) | |
download | nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.tar nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.tar.gz nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.tar.bz2 nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.tar.lz nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.tar.xz nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.tar.zst nixpkgs-10a1f694b2dbdaeff6629f2e0ce74159d72f6c9c.zip |
Merge pull request #134798 from alyssais/isGnu
lib.systems.inspect.patterns.isGnu: init
-rw-r--r-- | lib/systems/inspect.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 2fba95aa1a6..718954e0839 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -56,6 +56,7 @@ rec { isNone = { kernel = kernels.none; }; isAndroid = [ { abi = abis.android; } { abi = abis.androideabi; } ]; + isGnu = with abis; map (a: { abi = a; }) [ gnuabi64 gnu gnueabi gnueabihf ]; isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ]; isUClibc = with abis; map (a: { abi = a; }) [ uclibc uclibceabi uclibceabihf ]; |