at-spi2-core: patch build on darwin

This commit is contained in:
Vladimír Čunát
2025-11-06 17:20:51 +01:00
parent aba5c3d6a1
commit e69b54bfd0
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
meson,
ninja,
pkg-config,
@@ -41,6 +42,15 @@ stdenv.mkDerivation rec {
hash = "sha256-390zANong6IZaf+t4oiYF/t8GQak75JJfrpllps9q1o=";
};
# TODO apply unconditionally on rebuild
patches = lib.optionals stdenv.isDarwin [
(fetchpatch {
name = "timersub.patch";
url = "https://github.com/GNOME/at-spi2-core/commit/02108ea1b96db0189b2d4a9eceb843e1f13b7bdf.diff";
hash = "sha256-pVBhawfRnJoXmovl9CAmzh+YWJkbvlOVrCs8XanjP00=";
})
];
nativeBuildInputs = [
glib
meson