1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-24 05:05:26 +03:00

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;
default = (import "${../.}/compat").defaultNix;
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
{
inherit shell ci;
# platforms supported by our hercules-ci agent
inherit (packages)
aarch64-linux
i686-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;
}