From 4cc75b7cc5782c0a0ba90d4a5453b4aa2c893e94 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 26 Oct 2019 10:31:45 +0200 Subject: [PATCH] ci.nix: Enable darwin build --- nix/ci.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nix/ci.nix b/nix/ci.nix index ed61e2e..0d37467 100644 --- a/nix/ci.nix +++ b/nix/ci.nix @@ -24,15 +24,16 @@ dimension "Nixpkgs version" { dimension "System" { "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 pkgs = import ./. { inherit system; nixpkgsSrc = sources.${nixpkgsSource}; }; in { - inherit (pkgs) arion tests; + inherit (pkgs) arion; + } // lib.optionalAttrs enableNixOSTests { + inherit (pkgs) tests; } // lib.optionalAttrs enableDoc { inherit (pkgs) doc doc-options doc-options-check; } // lib.optionalAttrs isReferenceTarget {