From e81592e76f48c850a0ef35b8048260c21306a4b2 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 05:19:21 +0000 Subject: populate: get what the target lacks from its 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 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. --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGELOG.md') 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 `` 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 -- cgit v1.3.1