Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal.project: fix sha256 for ogmios #162

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

sorki
Copy link
Contributor

@sorki sorki commented Feb 16, 2024

Somehow this built due to cached path
but on another computer, it fails with mismatch,
probably due to subdir directive - seems like
it cannot be updated by simply using nix-prefetch-git and TOFU hash should be used in combination with haskell.nix.

Somehow this built due to cached path
but on another computer, it fails with mismatch,
probably due to `subdir` directive - seems like
it cannot be updated by simply using `nix-prefetch-git`
and TOFU hash should be used in combination with haskell.nix.
@sorki
Copy link
Contributor Author

sorki commented Feb 16, 2024

A case of works on my machine /o\

Also a magic incantation is needed to convert from SRI hash from error message to old --sha256 expected by haskell.nix:

$ nix --extra-experimental-features nix-command hash to-base32 sha256-1TU3IYTzm7h/wpt/fkHbaR0esVhyHKNtdCJpjsferZo=
16mdvv3qws92fins673jb2qiw7b9vd0pwzwvq9zvi6zkhhhkfdfm

@KtorZ KtorZ merged commit b12414a into CardanoSolutions:master Feb 16, 2024
4 of 5 checks passed
klarkc pushed a commit to Fourierlabs/kupo that referenced this pull request Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants