From abdefdcf21bafc8b7c6706c3d9eddea78a871823 Mon Sep 17 00:00:00 2001 From: lew Date: Sun, 5 Apr 2026 02:12:48 +0100 Subject: [PATCH] fix: copy source with clean permissions for build --- hosts/lab/wynne.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/lab/wynne.nix b/hosts/lab/wynne.nix index e55454c..926f940 100644 --- a/hosts/lab/wynne.nix +++ b/hosts/lab/wynne.nix @@ -7,8 +7,7 @@ let deployScript = pkgs.writeShellScript "wynne-deploy" '' set -e rm -rf ${buildDir} - cp -r ${website} ${buildDir} - chmod -R u+w ${buildDir} + cp -r --no-preserve=mode,ownership ${website} ${buildDir} cd ${buildDir} ${pkgs.pnpm}/bin/pnpm install --frozen-lockfile ASTRO_DB_REMOTE_URL=file:${dataDir}/data/guestbook.db ${pkgs.pnpm}/bin/pnpm build