devos/nix/ci.nix
2021-02-02 01:34:12 -07:00

25 lines
495 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;
};
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
;
}