From e9ef15c32206864555b39b53465562271c9153c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A4in=C3=B6=20J=C3=A4rvel=C3=A4?= Date: Fri, 23 Feb 2018 20:36:19 +0200 Subject: [PATCH] glib-networking: Fix Darwin support --- pkgs/development/libraries/glib-networking/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/glib-networking/default.nix b/pkgs/development/libraries/glib-networking/default.nix index 87f3c78a82e8..9336e5bbae91 100644 --- a/pkgs/development/libraries/glib-networking/default.nix +++ b/pkgs/development/libraries/glib-networking/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"; + LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; + preBuild = '' sed -e "s@${glib.out}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile) '';