ci: reformulate

This commit is contained in:
Timothy DeHerrera 2021-02-14 19:03:51 -07:00
parent b54e5e6b61
commit f2d22e13be
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

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