ark/nix/ci.nix

26 lines
513 B
Nix
Raw Normal View History

let
inherit (default.inputs.nixos.lib) recurseIntoAttrs;
default = (import "${../.}/compat").defaultNix;
packages = import ../default.nix;
2021-02-02 11:34:12 +03:00
shell = recurseIntoAttrs {
inherit (default.devShell)
2021-02-03 09:05:13 +03:00
i686-linux x86_64-linux aarch64-linux;
2021-02-02 11:34:12 +03:00
};
2021-02-02 11:34:12 +03:00
ci = recurseIntoAttrs {
2021-02-04 02:41:21 +03:00
nixos = default.nixosConfigurations.NixOS.config.system.build.ci;
2021-02-02 11:34:12 +03:00
};
in
{
2021-02-02 11:34:12 +03:00
inherit shell ci;
# platforms supported by our hercules-ci agent
inherit (packages)
i686-linux
x86_64-linux
aarch64-linux
;
}