git.iko.soy/typeable/nixpkgs
on master help sign in
libnotify: fix darwin build

Patch is upstream MR courtesy of jtojnar.

commitf1ad53b267902e378db433e7bb6b5aec65bfcf78 authorworldofpeace <worldofpeace@users.noreply.github.com> dateTue 30 Apr 2019, 13:58 (8 years ago) parent83f104a
1 file changed+10−1
pkgs/development/libraries/libnotify/default.nix+10−1
pkgs/development/libraries/libnotify/default.nix+10−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkgconfig
1+{ stdenv, fetchurl, meson, ninja, pkgconfig, fetchpatch
22, glib, gdk_pixbuf, gobject-introspection, gnome3 }:
33
44stdenv.mkDerivation rec {
@@ -10,6 +10,15 @@ stdenv.mkDerivation rec {
1010 sha256 = "1371csx0n92g60b5dmai4mmzdnx8081mc3kcgc6a0xipcq5rw839";
1111 };
1212
13+ patches = [
14+ # Fix darwin build
15+ # https://gitlab.gnome.org/GNOME/libnotify/merge_requests/9
16+ (fetchpatch {
17+ url = "https://gitlab.gnome.org/GNOME/libnotify/commit/55eb69247fe2b479ea43311503042fc03bf4e67d.patch";
18+ sha256 = "1hlb5b7c5axiyir1i5j2pi94bm2gyr1ybkp6yaqy7yk6iiqlvv50";
19+ })
20+ ];
21+
1322 mesonFlags = [
1423 # disable tests as we don't need to depend on gtk+(2/3)
1524 "-Dtests=false"