devos/nix/ci.nix
2021-02-02 23:05:13 -07:00

25 lines
509 B
Nix

let
inherit (default.inputs.nixos.lib) recurseIntoAttrs;
default = (import ../compat).defaultNix;
packages = import ../default.nix;
shell = recurseIntoAttrs {
inherit (default.devShell)
i686-linux x86_64-linux aarch64-linux;
};
ci = recurseIntoAttrs {
nixos = default.nixosConfigurations.ci.config.system.build.toplevel;
};
in
{
inherit shell ci;
# platforms supported by our hercules-ci agent
inherit (packages)
i686-linux
x86_64-linux
aarch64-linux
;
}