aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/README.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 /pkgs/populate/README.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 'pkgs/populate/README.md')
-rw-r--r--pkgs/populate/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/populate/README.md b/pkgs/populate/README.md
index b42d987..3a154b6 100644
--- a/pkgs/populate/README.md
+++ b/pkgs/populate/README.md
@@ -28,10 +28,12 @@ fetches the program's dependencies from [crates.io](https://crates.io).
populate runs rsync, ssh, Git, Nix, pass, and passage as the sources need
them, found in `PATH`, as well as coreutils and findutils, and a POSIX shell
as `/bin/sh`.
-The target needs a POSIX shell as `/bin/sh`, coreutils, findutils, `flock`, rsync,
-`patch` for sources with `patches`, Git for `git` sources, and Nix, and, if
+The target needs a POSIX shell as `/bin/sh`, coreutils, Nix, and, if
remote, ssh access as root, or, with `--sudo`, as a user who may use
-`sudo`.
+`sudo`. populate also runs findutils, `flock`, rsync, `patch` for sources
+with `patches`, and Git for `git` sources there. If the target lacks any
+of those, populate warns, and gets them from `<nixpkgs>` there with
+`nix-build`, once for each run.
NixOS has all of them but Git, and rsync as long as
`environment.defaultPackages` contains it. Features that say so need Nix
with flake support (Nix 2.4 or later) on the machine that uses them.