Skip to content
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

break gnutls -> openssl dependency #23245

Merged
merged 2 commits into from
Feb 27, 2017
Merged

Conversation

vcunat
Copy link
Member

@vcunat vcunat commented Feb 27, 2017

Motivation for this change

The closure of unbound daemon is increased by nettle.out, but closure of unbound.lib is decreased by openssl.out (~10x larger). I think it's a fair tradeoff.

libgnutls_dane uses libunbound.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

... to save ~3.4 MB of openssl from the default closure.
Unfortunately, it seems easiest to build all twice.
Debian testing does this in a very similar way.

Tested briefly some individual queries and resperf :-)
@mention-bot
Copy link

@vcunat, thanks for your PR! By analyzing the history of the files in this pull request, we identified @joachifm, @fpletz and @wkennington to be potential reviewers.

@vcunat
Copy link
Member Author

vcunat commented Feb 27, 2017

/cc the other unbound maintainer: @ehmry.

@vcunat vcunat mentioned this pull request Feb 27, 2017
7 tasks
vcunat added a commit to vcunat/nixpkgs that referenced this pull request Feb 27, 2017
@vcunat vcunat merged commit d00c26a into NixOS:staging Feb 27, 2017
@vcunat vcunat deleted the gnutls-openssl branch February 27, 2017 20:54
@vcunat
Copy link
Member Author

vcunat commented Feb 27, 2017

I staged this already to start preparing binaries, but feel free to discuss anyway...

@fpletz
Copy link
Member

fpletz commented Feb 27, 2017

Thanks a lot! 👍 Was just about to press merge myself. 🍻

vcunat added a commit that referenced this pull request Mar 1, 2017
adrianpk added a commit to adrianpk/nixpkgs that referenced this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants