-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37337 from obsidiansystems/meta-check-18.03
lib: Fix #30902 on 18.03
- Loading branch information
Showing
50 changed files
with
236 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ lib }: | ||
let | ||
inherit (lib.systems) parse; | ||
inherit (lib.systems.inspect) patterns; | ||
|
||
in rec { | ||
all = [ {} ]; # `{}` matches anything | ||
none = []; | ||
|
||
arm = [ patterns.isArm ]; | ||
aarch64 = [ patterns.isAarch64 ]; | ||
x86 = [ patterns.isx86 ]; | ||
i686 = [ patterns.isi686 ]; | ||
x86_64 = [ patterns.isx86_64 ]; | ||
mips = [ patterns.isMips ]; | ||
|
||
cygwin = [ patterns.isCygwin ]; | ||
darwin = [ patterns.isDarwin ]; | ||
freebsd = [ patterns.isFreeBSD ]; | ||
# Should be better, but MinGW is unclear, and HURD is bit-rotted. | ||
gnu = [ { kernel = parse.kernels.linux; abi = parse.abis.gnu; } ]; | ||
illumos = [ patterns.isSunOS ]; | ||
linux = [ patterns.isLinux ]; | ||
netbsd = [ patterns.isNetBSD ]; | ||
openbsd = [ patterns.isOpenBSD ]; | ||
unix = patterns.isUnix; # Actually a list | ||
windows = [ patterns.isWindows ]; | ||
|
||
inherit (lib.systems.doubles) mesaPlatforms; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.