From 2735e9c8d6aa444f4a07c26563cda71774d2ca0a Mon Sep 17 00:00:00 2001 From: "Jason \"Don\" O'Conal" Date: Fri, 14 Jun 2013 18:16:37 +1000 Subject: [PATCH] apacheHttpd: fix build on darwin * remove the gcc_s library from NIX_LDFLAGS (not available on darwin) --- pkgs/servers/http/apache-httpd/2.2.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/http/apache-httpd/2.2.nix b/pkgs/servers/http/apache-httpd/2.2.nix index ba0bde633584..23d18ad7c9c6 100644 --- a/pkgs/servers/http/apache-httpd/2.2.nix +++ b/pkgs/servers/http/apache-httpd/2.2.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1"; # Required for ‘pthread_cancel’. - NIX_LDFLAGS = "-lgcc_s"; + NIX_LDFLAGS = (if stdenv.isDarwin then "" else "-lgcc_s"); configureFlags = '' --with-z=${zlib}