diff options
| author | tv <tv@krebsco.de> | 2026-11-22 16:21:29 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-22 16:21:33 +0000 |
| commit | 40b229a047e578fa11c7d4cffb7aebc74fab3822 (patch) | |
| tree | b255599dfe3550af5b07b06ef00c025e9f684f34 /pkgs/populate/docs/design.md | |
| parent | 60ab707f2d6678e0754e4889771e5c45680a5916 (diff) | |
populate: look for grep and sed on targets of git sources
git sources' snippets run grep and sed on the target, so check looks for
them there as well, with Git, and gets them from <nixpkgs> there, if the
target lacks them. The README names grep and sed among what populate
runs on the machine it runs on, too, for pass sources and Git work trees
that flakes get drawn from.
Diffstat (limited to 'pkgs/populate/docs/design.md')
| -rw-r--r-- | pkgs/populate/docs/design.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/populate/docs/design.md b/pkgs/populate/docs/design.md index 10e6f4b..4421942 100644 --- a/pkgs/populate/docs/design.md +++ b/pkgs/populate/docs/design.md @@ -99,9 +99,11 @@ For a local target, populate runs commands directly. For a remote target, populate runs commands over ssh, sharing one master connection per target. The commands are fixed POSIX shell snippets, with values passed as positional arguments, so nothing gets quoted into them. -The target needs a POSIX shell, coreutils, findutils, rsync, `patch` for -patches, Git for `git` sources, and Nix; NixOS lacks Git. With `sudo`, -the snippets run via `sudo`. +The target needs a POSIX shell, coreutils, findutils, `flock`, rsync, +`patch` for patches, Git, grep, and sed for `git` sources, and Nix; NixOS +lacks Git. check gets what the target lacks of those but the shell, +coreutils, and Nix from `<nixpkgs>` there. With `sudo`, the snippets run +via `sudo`. Populate runs rsync, Git, ssh, and Nix as programs, found in `PATH`. |
