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
nghttp2: 1.16.1 -> 1.17.0 #21029
nghttp2: 1.16.1 -> 1.17.0 #21029
Conversation
See release notes : https://github.com/nghttp2/nghttp2/releases/tag/v1.17.0
@c0bw3b, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fpletz, @wkennington and @edolstra to be potential reviewers. |
Building on 16.09-small
|
Staged. |
Hello, Looking back at the nghttp2 Nix definition : the postPatch action is not needed anymore since it has been patched upstream a long time ago. See : I also noticed that the optional dependencies [ jansson boost libxml2 jemalloc ] will never be used even if passed as arguments. They are not added to the build inputs if not null. @vcunat you can judge if the correction (and another mass-rebuild) is worthwhile at this point. |
Thanks to some canonicalization during evaluation, it's only mass-rebuild on Darwin and Hydra's currently idling on that platform. |
I tried to get rid of curl in the darwin stdenv a while ago, but cmake does not want to build without it. |
@vcunat Replacing buildInputs = [ openssl libev zlib ]
++ optional (!isNull jansson) jansson
++ optional (!isNull boost) boost
++ optional (!isNull libxml2) libxml2
++ optional (!isNull jemalloc) jemalloc; |
We would need a different approach, as by default all parameters are passed as non-null ( EDIT: maybe allow two standard variants, for simplicity – one light as it's now to use in curl, and another using all the features. Still, it seems to make little sense to me until some packages actually uses the full version. |
I think options are better for this eg. development/interpreters/erlang/R18.nix |
Ah ok lesson learned about CallPackage. |
Turning the dependencies unrelated to the base libnghttp2 into proper options.
@vcunat |
Motivation for this change
v1.17.0 fixes crashes, issue with memcpy and compilation with BoringSSL
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/
)See release notes :
https://github.com/nghttp2/nghttp2/releases/tag/v1.17.0