-
Notifications
You must be signed in to change notification settings - Fork 188
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
Curl flake with ^out,dev not adding dynamic libraries #1852
Comments
Thanks for the thorough bug report. I'll take a look at this today. |
@savil it looks like we're dropping the Here's what I see happening with the Devbox nix profile using the Enter a shell, see that only
See that the curl libraries are missing from the profile's
See that only
Manually add
Exit and re-enter the devbox shell. See that devbox removed
See that
|
Thanks for investigating. Off the back of that, in case it's any use to anyone else, I've been able to add the following to my
With that, when I do
|
## Summary Fixes #1852 Ensure we initialize outputs using flake if package is a flake. Made outputs non-pointer so we don't have to worry about initialization. ## How was it tested? Installed `github:nixos/nixpkgs#curl^out,dev` and verified that flake and profile contain both outputs.
What happened?
Having just worked around #1851 and deleted my /nix and reinstalled everything, suddenly my project is broken thanks to ruby's FFI being unable to find libcurl.
Looks like even with the curl line added,
.devbox/nix/profile/default/lib
(as per$LD_LIBRARY_PATH
) does not contain libcurlSteps to reproduce
export DEVBOX_USE_VERSION=0.8.7
run the scriptdevbox run problem
- it worksunset DEVBOX_USE_VERSION
and with the latest devbox, run the same script - it breaks--output out,dev
, of course!)Command
run, shell
devbox.json
Devbox version
0.9.1
Nix version
nix (Nix) 2.18.1
What system does this bug occur on?
Linux (x86-64)
Debug logs
Also, this might be useful:
Changing the devbox.json to force it to reinstall (e.g. changing
github:nixos/
togithub:NixOS/
) gives this:The text was updated successfully, but these errors were encountered: