devos/nix/ci.nix

27 lines
582 B
Nix
Raw Normal View History

let
inherit (default.inputs.nixos.lib) recurseIntoAttrs;
default = (import "${../.}/compat").defaultNix;
packages = import ../default.nix;
2021-02-02 09:34:12 +01:00
shell = recurseIntoAttrs {
inherit (default.devShell)
2021-02-03 07:05:13 +01:00
i686-linux x86_64-linux aarch64-linux;
2021-02-02 09:34:12 +01:00
};
2021-02-02 09:34:12 +01:00
ci = recurseIntoAttrs {
2021-02-04 00:41:21 +01:00
nixos = default.nixosConfigurations.NixOS.config.system.build.ci;
2021-02-04 00:47:48 +01:00
iso = default.nixosConfigurations.NixOS.config.system.build.iso;
2021-02-02 09:34:12 +01:00
};
in
{
2021-02-02 09:34:12 +01:00
inherit shell ci;
# platforms supported by our hercules-ci agent
inherit (packages)
i686-linux
x86_64-linux
aarch64-linux
;
}