aboutsummaryrefslogtreecommitdiffstats
path: root/tests/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-14 03:45:10 +0000
committertv <tv@krebsco.de>2026-11-14 04:58:40 +0100
commit4ac279ac50b2a842b08d39a875c7c1b89998fd13 (patch)
tree6a614a9b9b9dc47ace1292100ca01c87e9f97098 /tests/default.nix
parent3e2116f153077186556c01ae1fc89923abfea265 (diff)
krops: take nixpkgs' lib from the caller
krops' lib imported <nixpkgs/lib>, which pure evaluation doesn't allow, and so did pkgs.krops and pkgs.populate, through it, also in krops' flake. lib/with.nix is krops' own lib, a function taking nixpkgs' lib, without merging it in. pkgs.krops and pkgs.populate use it with the lib callPackage gives them, nixpkgs.lib in krops' flake, and lib/default.nix is what it was: <nixpkgs/lib>, builtins, and krops' own lib, merged. The derivations stay the same.
Diffstat (limited to 'tests/default.nix')
-rw-r--r--tests/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/default.nix b/tests/default.nix
index 475ab5d..fa82e3a 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -18,7 +18,7 @@
let
inherit (pkgs) lib;
- krops = import ../lib;
+ krops = import ../lib/with.nix { inherit lib; };
populateTests = ../pkgs/populate/tests;
inherit (import (populateTests + "/fixtures.nix")) gitHead gitFirst;