rure/update.sh: remove non portable nix hash invocation
As pointed out in #398598.
This commit is contained in:
@@ -27,7 +27,7 @@ cat > pin.json <<EOF
|
||||
{
|
||||
"pname": "$crate",
|
||||
"version": "$version",
|
||||
"hash": "$(nix hash to-sri --type sha256 "$(printf '%s' "$prefetch" | head -n1)")"
|
||||
"hash": "sha256:$(printf '%s' "$prefetch" | head -n1)"
|
||||
}
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user