From adcce198da5d87f2c429cd578aa9644b609922f2 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 18 Mar 2015 23:35:30 +0100 Subject: release: Constrain set of packages to build. We don't want to build non-free stuff on our Hydra and also we want to have builds for all supported systems. In addition, this should get rid of a few evaluation errors that happen because Hydra tries to create jobs out of attributes which are not derivations. Signed-off-by: aszlig --- release.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index ab7a46c1..2ff78bc1 100644 --- a/release.nix +++ b/release.nix @@ -1,4 +1,5 @@ let + supportedSystems = [ "i686-linux" "x86_64-linux" ]; system = "x86_64-linux"; pkgs = import { inherit system; }; @@ -12,11 +13,14 @@ in with pkgs.lib; with builtins; { inherit system; }); - pkgs = import ./pkgs { - pkgs = import { - inherit system; + pkgs = let + releaseLib = import { + inherit supportedSystems; + packageSet = attrs: import ./pkgs { + pkgs = import attrs; + } // { inherit (pkgs) lib; }; }; - }; + in with releaseLib; mapTestOn (packagesWithMetaPlatform releaseLib.pkgs); manual = let modules = import { -- cgit 1.4.1