Skip to content

Commit ee817b4

Browse files
authored
fix: fix nix flake sed command (coder#13243)
1 parent c557c25 commit ee817b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-flake.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ echo "Calculating SRI hash..."
1313
HASH=$(go run tailscale.com/cmd/nardump --sri "$OUT/pkg/mod/cache/download")
1414
sudo rm -rf "$OUT"
1515

16-
sed -i "s/\(vendorHash = \"\)[^\"]*/\1${HASH}/" ./flake.nix
16+
sed -i "s#\(vendorHash = \"\)[^\"]*#\1${HASH}#" ./flake.nix

0 commit comments

Comments
 (0)