From c4ac28f90b37ce577f0d3e1c3caea9065ad6b156 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Thu, 9 Apr 2026 21:58:39 -0400 Subject: [PATCH] fix: correct patch permissions for nix --- nix/ssh-wasm.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/ssh-wasm.nix b/nix/ssh-wasm.nix index 0ebfe92..e4a3977 100644 --- a/nix/ssh-wasm.nix +++ b/nix/ssh-wasm.nix @@ -26,6 +26,7 @@ in # Patch Tailscale's derphttp to include DERPPort in WebSocket URLs. # Without this, DERP servers on non-443 ports fail in WASM builds. if [ -f patches/tailscale-derp-port.patch ]; then + chmod -R +w vendor/tailscale.com/derp/derphttp patch -d vendor/tailscale.com -p1 < patches/tailscale-derp-port.patch fi