mirror of
https://github.com/divnix/digga.git
synced 2024-11-24 05:05:26 +03:00
ci: reformulate
This commit is contained in:
parent
b54e5e6b61
commit
f2d22e13be
23
nix/ci.nix
23
nix/ci.nix
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user