v2ray: 4.34.0 -> 4.35.1

Also handle SRI hash produced by nix unstable in update script.
This commit is contained in:
Serval
2021-03-09 02:18:49 +08:00
parent 102eb68cee
commit 71ec323d09
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ set +o pipefail
vendorSha256=$(
nix-build "$nixpkgs" -A v2ray --no-out-link 2>&1 |
tee /dev/stderr |
sed -nE 's/.*got:\s*sha256:(\w+)$/\1/p'
sed -nE 's/.*got:\s*(sha256\S+)$/\1/p'
)
[[ "$vendorSha256" ]]
sed --in-place \