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
geoclue2: 2.4.3 -> 2.4.7 and add wrapGAppsHook #30314
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.
Builds fine, looks safe according to changelog.
$ maintainers/scripts/rebuild-amount.sh master
Estimating rebuild amount by counting changed Hydra jobs.
14 x86_64-darwin
104 x86_64-linux
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec { | |||
|
|||
buildInputs = libintlOrEmpty ++ | |||
[ intltool glib json_glib libsoup geoip | |||
dbus dbus_glib avahi | |||
dbus dbus_glib avahi wrapGAppsHook |
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.
wrapGAppsHook
should be moved to nativeBuildInputs
. And while you are at it, can you also move intltool
there?
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.
Fixed, thanks!
geoclue2 without GNOME requires glib_networking in order to make HTTPS connections to location providers. Additionally, geoclue2 crashes if an NMEA provider is found on the network without GSettings support. Also moved intltool to nativeBuildInputs as per good practices.
also backported to 17.09. |
Motivation for this change
geoclue2 on my machine failed to contact Mozilla because it was unable to find glib_networking. On GNOME systems this will be set by environment variable, but without GNOME it isn't. Adding
glib_networking
via thewrapGAppsHook
solved this issue.Additionally, when geoclue2 found an NMEA source on the local network via Avahi, it would crash on
No GSettings schemas are installed on the system
without that hook.This PR solves both problems, as well as upgrading the package to the latest upstream.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)