os/nix/ci.nix

26 lines
495 B
Nix
Raw Normal View History

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