diff options
| author | tv <tv@krebsco.de> | 2026-11-14 03:45:10 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-14 04:58:40 +0100 |
| commit | 4ac279ac50b2a842b08d39a875c7c1b89998fd13 (patch) | |
| tree | 6a614a9b9b9dc47ace1292100ca01c87e9f97098 /CHANGELOG.md | |
| parent | 3e2116f153077186556c01ae1fc89923abfea265 (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 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index bcc74ae..642c8a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ each set of arguments. `pkgs.populate-unwrapped` is the program; `pkgs.populate`, `writeDeploy`, and the other functions keep their arguments, and `pkgs.populate` also takes a target string. +- `lib/with.nix` is krops' lib without nixpkgs' lib, which it takes from + its caller, e.g. a flake's `nixpkgs.lib`. `pkgs.krops`, `pkgs.populate` + and krops' flake use the nixpkgs lib they get, instead of + `<nixpkgs/lib>`, which `lib/default.nix` still merges with krops' lib. - A `passage` source's `identities_file` defaults to `~/.passage/identities` when populate runs, instead of during evaluation. |
