mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
lib: Make platforms.all
actually match all platforms
Otherwise obscure cross-compilations are hampered. `all` breaks all but the initial derivation (which we can't even write yet) in an open world setting however, so we really shouldn't have it.
This commit is contained in:
parent
2ce3df3f5d
commit
3c8ae01a45
@ -4,8 +4,8 @@ let
|
|||||||
inherit (lib.systems.inspect) patterns;
|
inherit (lib.systems.inspect) patterns;
|
||||||
|
|
||||||
in rec {
|
in rec {
|
||||||
inherit (lib.systems.doubles) all mesaPlatforms;
|
all = [ {} ]; # `{}` matches anything
|
||||||
none = [];
|
none = [];
|
||||||
|
|
||||||
arm = [ patterns.isArm ];
|
arm = [ patterns.isArm ];
|
||||||
aarch64 = [ patterns.isAarch64 ];
|
aarch64 = [ patterns.isAarch64 ];
|
||||||
@ -24,4 +24,6 @@ in rec {
|
|||||||
netbsd = [ patterns.isNetBSD ];
|
netbsd = [ patterns.isNetBSD ];
|
||||||
openbsd = [ patterns.isOpenBSD ];
|
openbsd = [ patterns.isOpenBSD ];
|
||||||
unix = patterns.isUnix; # Actually a list
|
unix = patterns.isUnix; # Actually a list
|
||||||
|
|
||||||
|
inherit (lib.systems.doubles) mesaPlatforms;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user