From ad3d180d6f30254f9971555c2418c88a523638bc Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Wed, 21 Sep 2011 23:23:12 +0000 Subject: [PATCH] attempt to fix talloc build on darwin see: https://bugzilla.samba.org/show_bug.cgi?id=7000 svn path=/nixpkgs/trunk/; revision=29430 --- pkgs/development/libraries/talloc/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/talloc/default.nix b/pkgs/development/libraries/talloc/default.nix index f8fe2330cf9..9a37b106eaa 100644 --- a/pkgs/development/libraries/talloc/default.nix +++ b/pkgs/development/libraries/talloc/default.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation rec { configureFlags = "--enable-talloc-compat1 --enable-largefile"; + patchPhase = if stdenv.isDarwin then '' + substituteInPlace "Makefile" --replace "SONAMEFLAG = #" "SONAMEFLAG = -install_name" + '' else ""; + meta = { description = "talloc is a hierarchical pool based memory allocator with destructors"; homepage = http://tdb.samba.org/;