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
grafana: made phantomjs2 optional #80666
Conversation
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.
Just talked to @WilliButz about this change. It's probably the best solution for now to make it optional just as you did (but make it disabled by default).
We shouldn't backport the change then and it would be great if you could write release notes about this in rl-2009 :)
c49c01f
to
68a1b57
Compare
I pushed the default to Where can I find the info to write a release note ? |
You can find it in |
68a1b57
to
fb3ba9d
Compare
Done! |
fb3ba9d
to
e21c904
Compare
On servers especially, phantomjs2 pulls graphical dependencies which is unecessary. This pathes enable the package to be linked/installed without phantomjs2. Phantomjs2 is disabled by default since it has been deprecated in grafana https://grafana.com/docs/grafana/latest/guides/whats-new-in-v6-4/
e21c904
to
9f0014b
Compare
Thank you for your help, I couldn't have found it with the logs... |
On servers especially, phantomjs2 pulls graphical dependencies which is unecessary.
This pathes enable the package to be linked/installed without
phantomjs2.
Motivation for this change
On systems with
environment.noXlibs = true;
, grafana pulls a lot of dependencies with the current package becausephantomjs2
depends on X libraries.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)