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

eclipse: don't use webkitgtk2, fix dependency passing #23501

Closed
wants to merge 2 commits into from

Conversation

zraexy
Copy link
Member

@zraexy zraexy commented Mar 4, 2017

Motivation for this change

Made eclipse 'import' the builder instead of using 'callPackage' so it uses the dependencies it is passed.
Told eclipse to not use webkitgtk2 by default.

This fixes the issue of eclipse trying to use webkitgtk2 and failing because it has vulnerabilities.

This should be ported to 17.03

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.

Switched from callPackage to import so that dependencies are passed instead of being grabbed from pkgs.
Tell callPackage not not include webkitgtk2 due to the fact that it has multiple vulnerabilities.
@mention-bot
Copy link

@zraexy, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @MarcWeber and @rycee to be potential reviewers.

@zraexy zraexy changed the title eclipse: don't use webkitgtk2, fixed dependency passing eclipse: don't use webkitgtk2, fix dependency passing Mar 5, 2017
@bjornfor bjornfor self-assigned this Mar 5, 2017
@bjornfor
Copy link
Contributor

bjornfor commented Mar 5, 2017

Pushed to master (7582da5, 49ea0e2) and release-17.03 (9bc2992, 3cafb67). Thanks!

@bjornfor bjornfor closed this Mar 5, 2017
@zraexy zraexy deleted the eclipse branch April 13, 2017 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants