From c1830efa818e67dbaba9bfc68de28c6d1ce20c21 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 13 Nov 2026 14:01:42 +0000 Subject: populate, overlay: mark populate's scripts as shell, drop unused lib 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. --- pkgs/populate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/populate/default.nix') 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. -- cgit v1.3.1