From 4ac279ac50b2a842b08d39a875c7c1b89998fd13 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 14 Nov 2026 03:45:10 +0000 Subject: krops: take nixpkgs' lib from the caller krops' lib imported , 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: , builtins, and krops' own lib, merged. The derivations stay the same. --- tests/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; -- cgit v1.3.1