Add release job
This commit is contained in:
parent
ce82d551fc
commit
57cecaf5d9
1 changed files with 9 additions and 1 deletions
10
release.nix
10
release.nix
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue