CardanoSolutions / kupo

🐹 Fast, lightweight & configurable chain-index for Cardano.
https://cardanosolutions.github.io/kupo/
Mozilla Public License 2.0
118 stars 29 forks source link

Fix ogmios missing sha #174

Closed klarkc closed 3 months ago

klarkc commented 3 months ago

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.

KtorZ commented 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.

waalge commented 3 months ago
$nix-prefetch-git https://github.com/CardanoSolutions/ogmios.git --rev 0316c754794477629dddfbffa55c2e743cb993ba --fetch-submodules --quiet | jq '.hash'
"sha256-m/l5XUzb9EG/qTMeHnxT/orfqrjPgOr+9Rns+zQr/CA="