aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2025-04-09 01:35:10 +0200
committertv <tv@krebsco.de>2025-04-09 01:45:01 +0200
commitf175fd8ad288d74cbbf410b8fdeff298a4467dd3 (patch)
tree5b9097e135d8f6ee1b77f03af21fd590a098a429
parenta6c7ecd8ba90c1eb2515cb235d85649295848e68 (diff)
populate passage: keep dir mtime stable
-rw-r--r--pkgs/populate/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index 7129b90..bbd2641 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -199,6 +199,9 @@ let
${coreutils}/bin/touch -r "$age_path" "$tmp_path"
done
+ ${findutils}/bin/find "$tmp_dir" -type d \
+ -exec ${coreutils}/bin/touch -t 311111111111.11 {} +
+
${rsync' target rsyncDefaultConfig /* sh */ "$tmp_dir"}
'';