You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a hard time reproducing this. Building on master, 802d739 (with the python change you mentioned) results in /nix/store/biqlmhcb4k2bgwb46746ar13a8n4qxh2-libdevil-1.7.8.drv, which builds fine for me on nixos x86_64.
Thanks for looking into this. There may be more factors at play than I assumed. I was definitely getting this error when working on https://github.com/nh2/static-haskell-nix which uses pkgsMusl, but maybe one of the overrides there causes the issue to surface.
In any case, -ldeflate is one of the options passed to g++, so libdeflate should be in buildInputs, right?
Describe the bug
When building
libdevil
inpkgsMusl
, the build fails with the following linker error:Steps To Reproduce
Steps to reproduce the behavior:
nixpkgs
commit95f1154f993bc788bad7df1feed1b98c7e7381cb
(that was latestmaster
when I started testing)pkgs/development/interpreters/python/cpython/default.nix
setenableLTO
tofalse
to work around Python3 fails to build with musl #131557nix-shell -p pkgsMusl.libdevil
Expected behavior
Successful build.
Additional context
The fix is to add
libdeflate
to build inputs, done in #132220Notify maintainers
@Phreedom
Metadata
Maintainer information:
The text was updated successfully, but these errors were encountered: