-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
ckan: Add curl to runtime libraries #15278
Conversation
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec { | |||
install -m 0644 $exe $out/bin | |||
makeWrapper ${mono}/bin/mono $out/bin/$(basename $exe .exe) \ | |||
--add-flags $out/bin/$exe \ | |||
--set LD_LIBRARY_PATH ${gtk.out}/lib | |||
--set LD_LIBRARY_PATH ${gtk.out}/lib:${curl.out}/lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be more convenient as stdenv.lib.makeLibraryPath [ gtk curl ]
, or does that not work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know about it. Is there a list of these convenience functions somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There probably should be, but I usually just root around in lib/
Thank you |
Hmm. Not really sure what could be causing that. |
Doesn't look related to this PR in particular, but mono is a complete unknown to me. It used to build, though (https://hydra.nixos.org/build/35332739) |
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)CKAN uses libcurl for some, but not all, downloads. We'd better include it.