nix: fix rsync order
All checks were successful
Static / Flake checks (push) Successful in 23s
Static / Create distribution (push) Successful in 1m4s

Sitemap gets removed since it is not in the other tree.
This commit is contained in:
Ophestra 2025-06-28 01:34:04 +09:00
parent f2b4785e33
commit 57a7aa4410
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q

View File

@ -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
'';