Add release expression

This commit is contained in:
Sander van der Burg 2021-04-22 21:27:36 +02:00 committed by Sander van der Burg
parent 4f45ec6787
commit b9a1187279
2 changed files with 15 additions and 1 deletions

15
release.nix Normal file
View File

@ -0,0 +1,15 @@
{ nixpkgs ? <nixpkgs>
, system ? builtins.currentSystem
, nix-processmgmt ? { outPath = ../nix-processmgmt; rev = 1234; }
, processManagers ? [ "supervisord" "sysvinit" "systemd" "disnix" "s6-rc" ]
, profiles ? [ "privileged" "unprivileged" ]
}:
let
pkgs = import nixpkgs {};
in
{
tests = import ./tests {
inherit pkgs system nix-processmgmt processManagers profiles;
};
}

View File

@ -102,5 +102,4 @@ in
xinetd-extendable = import ./xinetd/extendable {
inherit pkgs processManagers profiles testService;
};
}