ci.nix: Enable darwin build
This commit is contained in:
parent
4a12286e92
commit
4cc75b7cc5
1 changed files with 5 additions and 4 deletions
|
@ -24,15 +24,16 @@ dimension "Nixpkgs version" {
|
||||||
|
|
||||||
dimension "System" {
|
dimension "System" {
|
||||||
"x86_64-linux" = { isReferenceTarget = isReferenceNixpkgs; };
|
"x86_64-linux" = { isReferenceTarget = isReferenceNixpkgs; };
|
||||||
# TODO: darwin
|
"x86_64-darwin" = { enableNixOSTests = false; };
|
||||||
# "x86_64-darwin" = { enableNixOSTests = false; };
|
|
||||||
} (
|
} (
|
||||||
system: { isReferenceTarget ? false }:
|
system: { isReferenceTarget ? false, enableNixOSTests ? true }:
|
||||||
let
|
let
|
||||||
pkgs = import ./. { inherit system; nixpkgsSrc = sources.${nixpkgsSource}; };
|
pkgs = import ./. { inherit system; nixpkgsSrc = sources.${nixpkgsSource}; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit (pkgs) arion tests;
|
inherit (pkgs) arion;
|
||||||
|
} // lib.optionalAttrs enableNixOSTests {
|
||||||
|
inherit (pkgs) tests;
|
||||||
} // lib.optionalAttrs enableDoc {
|
} // lib.optionalAttrs enableDoc {
|
||||||
inherit (pkgs) doc doc-options doc-options-check;
|
inherit (pkgs) doc doc-options doc-options-check;
|
||||||
} // lib.optionalAttrs isReferenceTarget {
|
} // lib.optionalAttrs isReferenceTarget {
|
||||||
|
|
Loading…
Reference in a new issue