gnome.gnome-maps: patch a test failure

Thanks to bobby285271 for suggesting this patch.
This commit is contained in:
Vladimír Čunát 2022-11-10 09:24:31 +01:00
parent 72fad86157
commit 113bfd75d6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, gettext
@ -65,6 +66,14 @@ stdenv.mkDerivation rec {
libsoup_3
];
patches = [
(fetchpatch {
name = "timeTest.patch";
url = "https://gitlab.gnome.org/GNOME/gnome-maps/-/commit/bec3d2f26de1b3a8c8b7e603f6d6a46c853426fa.diff";
sha256 = "sha256-7/ogIDG0piZOPaCPX4nUA3jHI7RGTd2KMZsp8z0XLcc=";
})
];
postPatch = ''
# The .service file isn't wrapped with the correct environment
# so misses GIR files when started. By re-pointing from the gjs