Skip to content

"hash mismatch in fixed-output derivation" when building from tar #71

Answered by balsoft
leana8959 asked this question in Q&A
Discussion options

You must be logged in to vote

The reason is here: https://gitlab.inria.fr/skeletons/necro/-/blob/master/necrolib.opam.template?ref_type=heads#L3

They hardcode both the version and the md5 of the very code you're trying to build.

I think the best solution would be to manually override the src of your derivation and pass it the very source you pass to buildOpamProject.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@leana8959
Comment options

@balsoft
Comment options

Answer selected by leana8959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants