aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 01:36:26 +0000
committertv <tv@krebsco.de>2026-12-02 01:36:26 +0000
commit5874ad295e3ada5d6db880253c140c2107fdd655 (patch)
tree74aa56424c0af15a2d0a1ce00fdf35bb8d5a1681
parent248917c32c536d67241d8445ab37f9f9af3142c8 (diff)
README, populate design: NixOS installs Git only if its configuration says so
-rw-r--r--README.md8
-rw-r--r--pkgs/populate/docs/design.md5
2 files changed, 7 insertions, 6 deletions
diff --git a/README.md b/README.md
index c8663d1..727c077 100644
--- a/README.md
+++ b/README.md
@@ -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`.
[cgit] Unable to lock slot /tmp/cgit/1f000000.lock: Permission denied (13)