Failing to build a dune project #102
Unanswered
wereHamster
asked this question in
Q&A
Replies: 1 comment
|
I think it just can't find the needed libraries, and one of them isn't even in nixpkgs. I'll investigate further later. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/dmtrKovalenko/odiff
I know nothing about ocaml and dune. I'm just trying to package this project with Nix so that can manage this dependency with Nix.
The flake.nix I have now is copied straight from the docs:
When building it I'm getting this error:
Maybe the project is doing something fancy that is outside of a standard ocaml / dune setup? I found this code which seems to be related to the error:
https://github.com/dmtrKovalenko/odiff/blob/49ccd5d15c3a0956eca2effc3812716d5ef2d67e/io/png_write/dune#L15-L21
https://github.com/dmtrKovalenko/odiff/blob/49ccd5d15c3a0956eca2effc3812716d5ef2d67e/io/config/discover.ml
Any hints how to package odiff with Nix flakes are highly appreciated. Thanks.
All reactions