aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 05:19:21 +0000
committertv <tv@krebsco.de>2026-11-20 05:19:21 +0000
commite81592e76f48c850a0ef35b8048260c21306a4b2 (patch)
tree91ed172c077c7532ee39757578ec8630f6833600 /CHANGELOG.md
parent2aa54d9cb0399371a72a768cb5657a2bfebfde9e (diff)
populate: get what the target lacks from its <nixpkgs>krops-2
populate runs findutils, flock, rsync, patch, and Git on the target, as the sources need them. check looks for those first, and if any isn't there, it warns, and gets their packages from the target's <nixpkgs> with one nix-build, whose bin directories commands on the target, and rsync's remote end, find commands in before those in their PATH, for the rest of the run. If the target is the machine populate runs on, that goes for populate as well.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c84c1f2..029ca64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,10 @@
commit of the Git work tree it's in, whether that's dirty, and a hash
of what got delivered. The sentinel is a directory, which a sentinel
file becomes, and the target needs `flock`.
+- Populate runs shell code with `/bin/sh`. If the target lacks commands
+ populate runs there, `flock`, rsync, `patch`, Git, or findutils, populate
+ warns, and gets them from the target's `<nixpkgs>` with `nix-build`.
+ `pkgs.populate` puts util-linux and gnupatch in `PATH` as well.
- `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