diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-06-28 01:34:04 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-06-28 01:34:04 +0900 |
| commit | 57a7aa4410b85423faecfc45ee2c00f1d5c12d3f (patch) | |
| tree | 4247f8d0f619b322d2141c7da4c3226752f08fca | |
| parent | f2b4785e33ce4e2791de2e2110232448906f8e9a (diff) | |
nix: fix rsync order
Sitemap gets removed since it is not in the other tree.
| -rw-r--r-- | package.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 ''; |
