Add release job

This commit is contained in:
Sander van der Burg 2020-04-01 19:55:02 +02:00 committed by Sander van der Burg
parent ce82d551fc
commit 57cecaf5d9

View file

@ -5,7 +5,7 @@
let
pkgs = import nixpkgs {};
in
{
rec {
package = pkgs.lib.genAttrs systems (system: (import ./default.nix {
inherit pkgs system;
noDev = true;
@ -38,4 +38,12 @@ in
}
);
};
release = pkgs.releaseTools.aggregate {
name = "composer2nix";
constituents = map (system: builtins.getAttr system package) systems
++ map (system: builtins.getAttr system dev) systems
++ map (system: builtins.getAttr system tests.dependencies) systems
++ map (system: builtins.getAttr system tests.enduser) systems;
};
}