Merge pull request #141211 from andresilva/geoclue-fix-no-wifi

geoclue: fix getting a location if the computer has no wifi
This commit is contained in:
Michael Raskin 2021-10-14 11:03:31 +00:00 committed by GitHub
commit ed76a91248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,14 @@ stdenv.mkDerivation rec {
};
patches = [
# Fix for falling back to GeoIP when WiFi devices are not found
# https://gitlab.freedesktop.org/geoclue/geoclue/-/commit/2de651b6590087a2df2defe8f3d85b3cf6b91494
# NOTE: this should be removed when the next version is released
(fetchpatch {
url = "https://gitlab.freedesktop.org/geoclue/geoclue/commit/2de651b6590087a2df2defe8f3d85b3cf6b91494.patch";
sha256 = "hv7t2Hmpv2oDXiPWA7JpYD9q+cuuk+En/lJJickvFII=";
})
# Make the Mozilla API key configurable
# https://gitlab.freedesktop.org/geoclue/geoclue/merge_requests/54 (only partially backported)
(fetchpatch {