From ba05ed325bef0cdf8eaad8e0593260cb58cd9a8b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 22 Nov 2026 16:22:16 +0000 Subject: README: what populate runs on targets, and what it does if one lacks it --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f9d594b..f197dc9 100644 --- a/README.md +++ b/README.md @@ -65,13 +65,16 @@ The deploying machine needs Nix and nixpkgs 23.11 or later. krops builds sources, with nixpkgs' Rust the first time it's used, which fetches the program's dependencies from [crates.io](https://crates.io). -The target needs Nix, a POSIX shell, coreutils, findutils, rsync, and -`patch` for sources with `patches`, and a remote target ssh access as -root, or as a user who may use `sudo`. NixOS has all of them, rsync as -long as `environment.defaultPackages` contains it. `git` sources need Git on the -target, which NixOS lacks, so the minimal example above installs it. -Features that say so need Nix with flake support (Nix 2.4 or later) on the -machine that uses them. +The target needs Nix, a POSIX shell as `/bin/sh`, coreutils, findutils, +`flock`, rsync, and `patch` for sources with `patches`, and a remote +target ssh access as root, or as a user who may use `sudo`. NixOS has all +of them, rsync as long as `environment.defaultPackages` contains it. +`git` sources need Git, grep, and sed on the target; NixOS lacks Git, so +the minimal example above installs it. If the target lacks any of the +commands populate runs there, populate warns, and gets them from +`` there with `nix-build`, on every run. Features that say so +need Nix with flake support (Nix 2.4 or later) on the machine that uses +them. ## Using krops from a flake -- cgit v1.3.1