From d2e1023d73dcb86b0598688a352d3af5c7b3400a Mon Sep 17 00:00:00 2001 From: "Jason \\\"Don\\\" O'Conal" Date: Thu, 15 Aug 2013 13:39:35 +1000 Subject: [PATCH] gobjectIntrospection: fix build on darwin (close #832) vcunat edit: SANE_MALLOC_PROTOS is gone, removing the handling https://git.gnome.org/browse/glib/commit/?id=518e3104bf6cdb5d8e6b43d3b721805db5951139 --- pkgs/development/libraries/glib/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/development/libraries/glib/default.nix b/pkgs/development/libraries/glib/default.nix index b2c5966c267..4a14ed0f216 100644 --- a/pkgs/development/libraries/glib/default.nix +++ b/pkgs/development/libraries/glib/default.nix @@ -46,13 +46,6 @@ stdenv.mkDerivation rec { preConfigure = "autoreconf -fi"; configureFlags = "--with-pcre=system --disable-fam"; - postConfigure = - optionalString stdenv.isDarwin ('' - sed '24 i #include ' - '' + /* Disable the NeXTstep back-end because stdenv.gcc doesn't support Objective-C. */ '' - sed -i configure -e's/glib_have_cocoa=yes/glib_have_cocoa=no/g' - ''); - NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-lintl"; enableParallelBuilding = true;