2
0

remove ci.nix "all" attribute

use ci-all.nix instead if you want to do all the jobs
This commit is contained in:
2026-03-09 12:01:19 +00:00
parent 7b1324208b
commit 9fef673ca0
2 changed files with 17 additions and 19 deletions

6
ci-all.nix Normal file
View File

@@ -0,0 +1,6 @@
let jobs = import ./ci.nix ;
pkgs = import <nixpkgs> { };
in pkgs.mkShell {
name = "all tests";
contents = pkgs.lib.collect pkgs.lib.isDerivation jobs;
}

30
ci.nix
View File

@@ -25,23 +25,15 @@ let
liminix-config = vanilla;
}).outputs.default;
tests = import ./tests/ci.nix;
jobs =
(genAttrs devices for-device)
// tests
// {
buildEnv =
(import liminix {
inherit borderVmConf;
device = import (liminix + "/devices/qemu");
liminix-config = vanilla;
}).buildEnv;
doc = pkgs.callPackage ./doc.nix { inherit liminix borderVmConf; };
};
in
jobs
// {
all = pkgs.mkShell {
name = "all tests";
contents = pkgs.lib.collect pkgs.lib.isDerivation jobs;
};
}
(genAttrs devices for-device)
// tests
// {
buildEnv =
(import liminix {
inherit borderVmConf;
device = import (liminix + "/devices/qemu");
liminix-config = vanilla;
}).buildEnv;
doc = pkgs.callPackage ./doc.nix { inherit liminix borderVmConf; };
}