aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-13 13:22:30 +0100
committertv <tv@krebsco.de>2026-11-13 13:22:30 +0100
commitc60651415a60483c87a8b8114f619eef7819730b (patch)
treed23bb365afb8acc006772aaddfd88dbe152a4f30
parentb3c671bed4e785c732fdd881cf1cc39d852eb3bb (diff)
populate: reduce log spam
-rw-r--r--pkgs/populate/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index 1a44044..e222573 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -1347,6 +1347,7 @@ let
target' = target // { path = "${target.path}/${name}"; };
in writers.writeDash "populate.${target'.host}.${name}" ''
set -efu
+ echo ${quote "populating '${target'.host}:${target'.path}'..."} >&2
PWD=$TMPDIR/workdirs/${quote name}
mkdir -p "$PWD"
cd "$PWD"
@@ -1584,11 +1585,10 @@ writers.writeDash "populate.${target.host}" ''
trap 'trap "" HUP INT TERM; exit 130' INT
trap 'trap "" HUP INT TERM; exit 143' TERM
+ echo + "$0" >&2
${check { inherit force target; }}
- set -x
${optionalString backup (do-backup { inherit target; })}
${concatStringsSep "\n" (mapAttrsToList (populate target) source)}
${flakes target source}
${optionalString prune (prune' target source)}
-
''