1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-02 15:53:21 +03:00
digga/nix/ci.nix
2021-02-14 22:33:37 -07:00

33 lines
657 B
Nix

let
inherit (default.inputs.nixos.lib) mapAttrs recurseIntoAttrs;
default = (import "${../.}/compat").defaultNix;
packages = import ../default.nix;
in
{
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)
aarch64-linux
i686-linux
x86_64-linux
;
devShell = recurseIntoAttrs {
inherit (default.devShell)
aarch64-linux
i686-linux
x86_64-linux
;
};
nixos = default.nixosConfigurations.NixOS.config.system.build.ci;
}