From 18f85d9fb0c79cdea8a3d863c41083f4677faa96 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 21 Jan 2026 22:22:54 +0100 Subject: ci: use lib correctly --- ci.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci.nix b/ci.nix index 212114538..1aecc8e70 100644 --- a/ci.nix +++ b/ci.nix @@ -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 { overlays = [ (import ./submodules/nix-writers/pkgs) ]; }; system = import { @@ -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 -- cgit v1.2.3