diff options
| author | tv <tv@krebsco.de> | 2026-11-22 16:22:16 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-22 16:22:16 +0000 |
| commit | ba05ed325bef0cdf8eaad8e0593260cb58cd9a8b (patch) | |
| tree | e243fa922ba00cf8f93542218dba9f51ad9c58d9 | |
| parent | 1aaa2cb7b8e08430c58dd3fae781359e9e308a50 (diff) | |
README: what populate runs on targets, and what it does if one lacks it
| -rw-r--r-- | README.md | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -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 +`<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. ## Using krops from a flake |
