diff options
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | pkgs/populate/docs/design.md | 5 |
2 files changed, 7 insertions, 6 deletions
@@ -69,10 +69,10 @@ 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 -`<nixpkgs>` there with `nix-build`, on every run. Features that say so +`git` sources need Git, grep, and sed on the target; NixOS installs Git +only if its configuration says so, as the minimal example's does. If the +target lacks any of the commands populate runs there, populate warns, and +gets them from `<nixpkgs>` 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. diff --git a/pkgs/populate/docs/design.md b/pkgs/populate/docs/design.md index 8268498..0e284a0 100644 --- a/pkgs/populate/docs/design.md +++ b/pkgs/populate/docs/design.md @@ -101,8 +101,9 @@ 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, `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 +installs Git only if its configuration says so. 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`. |
