pub-solar-os/nix/ci.nix
Timothy DeHerrera d6f50531b2
ci: add explicit ci file
* Build a nixos configuration with all profiles available as part of ci
pipeline.
* Remove darwin packages as we do not have a ci agent for them.
* Build shell as part of ci
2021-01-24 11:14:42 -07:00

22 lines
442 B
Nix

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