#!/bin/sh set -euo pipefail hash="$(nix-prefetch-url --type sha256 "$@")" nix-hash --to-sri --type sha256 "$hash" 2>/dev/null