diff options
| author | tv <tv@krebsco.de> | 2026-11-13 14:01:42 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 15:07:56 +0100 |
| commit | c1830efa818e67dbaba9bfc68de28c6d1ce20c21 (patch) | |
| tree | 8f3e9e7ec36e64a368799112c30ca6662f6d688b /pkgs/populate | |
| parent | e582eaa69c5f2d79c9b43424a5b94eb7826f37fb (diff) | |
The scripts populate writes with writeDash get /* sh */ markers like the
other shell code, and the overlay doesn't import krops' lib, which it
doesn't use.
Diffstat (limited to 'pkgs/populate')
| -rw-r--r-- | pkgs/populate/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index 05fb581..f2e6c80 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -1352,7 +1352,7 @@ let populate = target: name: source: let source' = source.${source.type}; target' = target // { path = "${target.path}/${name}"; }; - in writers.writeDash "populate.${target'.host}.${name}" '' + in writers.writeDash "populate.${target'.host}.${name}" /* sh */ '' set -efu echo ${quote "populating '${targetName target' target'.path}'..."} >&2 PWD=$TMPDIR/workdirs/${quote name} @@ -1572,7 +1572,7 @@ in { backup ? false, force ? false, prune ? false, source, target }: assert checkTargetPath target.path; assert all checkSourceName (attrNames source); -writers.writeDash "populate.${target.host}" '' +writers.writeDash "populate.${target.host}" /* sh */ '' set -efu # Change to a private temporary directory to prevent collisions. |
