diff options
| author | makefu <github@syntax-fehler.de> | 2026-02-11 22:13:33 +0100 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2026-02-11 22:13:33 +0100 |
| commit | 490e66008b3e2837589d0c60ecfb3358fbfb089d (patch) | |
| tree | bea05b1e1c97dc2d74e5a871941381784e74cfba /ci.nix | |
| parent | dce904dd1a33c8a2ca9f56b0f33f85f493eda499 (diff) | |
| parent | 0122ded2137e568e771e753c0c3a17b1b20d9ca7 (diff) | |
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'ci.nix')
| -rw-r--r-- | ci.nix | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ # usage: nix-instantiate --eval --json --read-write-mode --strict ci.nix | jq . -with import ./lib; let + lib = pkgs.lib; pkgs = import <nixpkgs> { overlays = [ (import ./submodules/nix-writers/pkgs) ]; }; system = import <nixpkgs/nixos/lib/eval-config.nix> { @@ -16,9 +16,9 @@ let } ; - ci-systems = filterAttrs (_: v: v.ci) system.config.krebs.hosts; + ci-systems = lib.filterAttrs (_: v: v.ci) system.config.krebs.hosts; build = host: owner: - ((import (toString ./. + "/${owner}/krops.nix") { name = host; }).test {target = "${getEnv "HOME"}/stockholm-build";}); + ((import (toString ./. + "/${owner}/krops.nix") { name = host; }).test {target = "${builtins.getEnv "HOME"}/stockholm-build";}); -in mapAttrs (n: h: build n h.owner.name) ci-systems +in lib.mapAttrs (n: h: build n h.owner.name) ci-systems |
