This may not be a bug but rather me misusing the software, but here goes:
I tried adding some C libraries to the shell using the c.nix module in extras.
The module seem to work, as I have LD_LIBRARY_PATH and C_INCLUDE_PATH set in a seemingly correct way. However, the ld in the shell doesn't seem to see any of the libraries I included, which is a change from the behavior of nativeBuildInputs in a normal shell.
Is there some option I'm not using, which would make ld see the libraries?
Describe the bug
This may not be a bug but rather me misusing the software, but here goes:
I tried adding some C libraries to the shell using the
c.nix
module inextras
.The module seem to work, as I have
LD_LIBRARY_PATH
andC_INCLUDE_PATH
set in a seemingly correct way. However, theld
in the shell doesn't seem to see any of the libraries I included, which is a change from the behavior ofnativeBuildInputs
in a normal shell.Is there some option I'm not using, which would make
ld
see the libraries?To Reproduce
Steps to reproduce the behavior:
Enter shell with direnv /
nix develop
Run
ld -v
Expected behavior
libs2n, libz, libopenssl's paths are visible
System information
Additional context