-
-
Notifications
You must be signed in to change notification settings - Fork 18k
macOS support for NixOS tests #282401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS support for NixOS tests #282401
Changes from all commits
b0ac7f2
6c013e3
9aa8994
ccbfcca
2bc4a79
21f534a
90679ea
03f2f87
0870201
ba4e0dd
0474c0a
ab45d31
5da6236
724e021
2ef8ac2
315229b
b915914
ddab359
3ef5de9
c73be48
39b7626
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -243,6 +243,16 @@ let | |
| }; | ||
| } else throw "x86_64 Darwin package set can only be used on Darwin systems."; | ||
|
|
||
| # If already linux: the same package set unaltered | ||
| # Otherwise, return a natively built linux package set for the current cpu architecture string. | ||
| # (ABI and other details will be set to the default for the cpu/os pair) | ||
| pkgsLinux = | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this might be running into the same issue as when you were using (if the label comes back, that'll be confirmation, but I don't think it'd be harmful to add it to that list before that happens) |
||
| if stdenv.hostPlatform.isLinux | ||
| then self | ||
| else nixpkgsFun { | ||
| localSystem = lib.systems.elaborate "${stdenv.hostPlatform.parsed.cpu.name}-linux"; | ||
| }; | ||
|
|
||
| # Extend the package set with zero or more overlays. This preserves | ||
| # preexisting overlays. Prefer to initialize with the right overlays | ||
| # in one go when calling Nixpkgs, for performance and simplicity. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.