-
Notifications
You must be signed in to change notification settings - Fork 23
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
Unable to statically build package that depends on dllunix
#47
Comments
This is not an opam-nix problem, and unfortunately there's little we can do from our side. See similar issues: 1 2 3 .You can try an override like this: jsonrpc = super.jsonrpc.overrideAttrs (oa: { buildPhase = "dune build -p $pname @install"; }); Which skips the part of the build that required |
Can we close this issue, as there's nothing that can be done on opam-nix side? |
Hi. Yes consider this issue closed. To make sure I understand the issue correctly, the problem is that |
Yes, pretty much. |
Describe the bug
I'm trying to statically build a project that has a transitive dependency on
dllunix.so
and am getting the following error:To Reproduce
My project is not public but here is my flake.nix:
This should fail on any package that depends on, for example, the ocaml
lsp
package.Expected behavior
I would expect a successful static build.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: