Closed klarkc closed 3 months ago
Yeah, I've tried a bunch of those too without success. And it still puzzles me (and pushes me further away from nix -- although arguably it's not nix specific here) that no one seems to know how those are generated to begin with.
$nix-prefetch-git https://github.com/CardanoSolutions/ogmios.git --rev 0316c754794477629dddfbffa55c2e743cb993ba --fetch-submodules --quiet | jq '.hash'
"sha256-m/l5XUzb9EG/qTMeHnxT/orfqrjPgOr+9Rns+zQr/CA="
Sorry I don't know how to produce the hash, nix reported the expected value here because I use kupo as a dependency. I tried nix-prefetch-url, nix-hash, nix hash, nix store prefetch-file, with many different formats, none of that worked.