From 57a7aa4410b85423faecfc45ee2c00f1d5c12d3f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 28 Jun 2025 01:34:04 +0900 Subject: [PATCH] nix: fix rsync order Sitemap gets removed since it is not in the other tree. --- package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.nix b/package.nix index 040cad61..39706cb2 100644 --- a/package.nix +++ b/package.nix @@ -89,8 +89,8 @@ stdenvNoCC.mkDerivation rec { xmllint --noblanks static-tmp/sitemap.xml --output static-tmp/sitemap.xml brotli -f static-tmp/sitemap.xml zopfli static-tmp/sitemap.xml - rsync -pcv --chmod=D755,F644 --fsync --preallocate static-tmp/sitemap.xml{,.gz,.br} $out rsync -rptcv --chmod=D755,F644 --delete --fsync --preallocate static-production/ $out + rsync -pcv --chmod=D755,F644 --fsync --preallocate static-tmp/sitemap.xml{,.gz,.br} $out runHook postInstall '';