commit 9fef673ca0dd06ecd08f686b8c4e86dab30384df parent 7b1324208b75b47b90be05aa2883d8327fceb029 Author: Daniel Barlow <dan@telent.net> Date: Mon, 9 Mar 2026 12:01:19 +0000 remove ci.nix "all" attribute use ci-all.nix instead if you want to do all the jobs Diffstat:
| A | ci-all.nix | | | 6 | ++++++ |
| M | ci.nix | | | 30 | +++++++++++------------------- |
2 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/ci-all.nix b/ci-all.nix @@ -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; +} diff --git a/ci.nix b/ci.nix @@ -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; }; + }