os/nix/ci.nix

33 lines
657 B
Nix
Raw Normal View History

let
2021-02-15 05:33:37 +00:00
inherit (default.inputs.nixos.lib) mapAttrs recurseIntoAttrs;
default = (import "${../.}/compat").defaultNix;
packages = import ../default.nix;
in
{
2021-02-15 05:33:37 +00:00
checks = recurseIntoAttrs (mapAttrs (_: v: recurseIntoAttrs v) {
inherit (default.checks)
aarch64-linux
i686-linux
x86_64-linux
;
});
# platforms supported by our hercules-ci agent
inherit (packages)
2021-02-15 02:03:51 +00:00
aarch64-linux
i686-linux
x86_64-linux
;
2021-02-15 02:03:51 +00:00
devShell = recurseIntoAttrs {
inherit (default.devShell)
aarch64-linux
i686-linux
x86_64-linux
;
};
nixos = default.nixosConfigurations.NixOS.config.system.build.ci;
}