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
gnome3.gnome-shell: clean up #93045
gnome3.gnome-shell: clean up #93045
Conversation
Also reorder and stop using aliases for pkg-config and docbook-xsl-{,no}ns.
Remove the following dependencies: * libcanberra – https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/327 * libsoup – https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/234 * libXtst – https://gitlab.gnome.org/GNOME/gnome-shell/commit/9f5a2d8aca5ae91be4cad12e6a3d02e1ac26e39a * glibcLocales – no longer necessary since glibc now contains C.UTF-8 locale * docbook-xsl-ns – not sure why this was included but there are no complaints when this is removed Also move gnome-autoar & json-glib to proper section and drop unused clutter arg.
* upower no longer used – https://gitlab.gnome.org/GNOME/mutter/commit/fa9e330f2c6d3ec34ff57b2c67a9c75c09401014 * only libcanbera, not libcanberra-gtk is used * cogl has been in-tree for ages * geocode-glib has not been used ever? * no need to have zenity in buildInputs, it is only needed in patch * move patches attr after src
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.
Tested with nix-shell -p nixpkgs-review --run "nixpkgs-review pr 93045"
Results:
13 packages built:
adapta-gtk-theme chrome-gnome-shell gnome3.gnome-control-center gnome3.gnome-session gnome3.gnome-shell gnome3.gnome-terminal gnome3.gnome-tweaks gnome3.gpaste gnome3.mutter gnome3.pomodoro gnomeExtensions.gsconnect gnomeExtensions.system-monitor pantheon.elementary-session-settings
, gsettings-desktop-schemas, gnome-keyring, glib, gjs, mutter, evolution-data-server, gtk3 | ||
, sassc, systemd, gst_all_1, adwaita-icon-theme, gnome-bluetooth, gnome-clocks, gnome-settings-daemon | ||
, gnome-autoar, asciidoc-full | ||
{ fetchurl |
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.
Is it best practices to have one dependency per line?
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 (and few other people) prefer that in packages that we maintain since it results in slightly cleaner diffs and makes git blame
easier in the future.
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.
okay, I see... but it would be nice to have consensus over the way we write things, that's where a best practices guide would come along, and linters could be built on top of it...
Successfully tested this in a VM. |
Motivation for this change
Various clean ups,
not yet tested.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)