fix: fix nix flake sed command (#13243)

This commit is contained in:
Jon Ayers
2024-05-11 01:10:19 +03:00
committed by GitHub
parent c557c25b3d
commit ee817b4d80
+1 -1
View File
@@ -13,4 +13,4 @@ echo "Calculating SRI hash..."
HASH=$(go run tailscale.com/cmd/nardump --sri "$OUT/pkg/mod/cache/download")
sudo rm -rf "$OUT"
sed -i "s/\(vendorHash = \"\)[^\"]*/\1${HASH}/" ./flake.nix
sed -i "s#\(vendorHash = \"\)[^\"]*#\1${HASH}#" ./flake.nix