about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-03-19 18:18:08 -0400
committerShea Levy <shea@shealevy.com>2014-03-19 18:18:08 -0400
commitd574c34e0a3f937a263fd4ef0ee45776fd7520c8 (patch)
treebe6bc48d41fe00d2e65f1d02b5cc8a8a6397cc32 /pkgs/tools
parent506924c6c25dbc8ee6f620d8f1e490c728d12768 (diff)
parentb805528552ab1fd734b7c0ec997001de1ca370a6 (diff)
downloadnixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.tar
nixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.tar.gz
nixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.tar.bz2
nixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.tar.lz
nixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.tar.xz
nixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.tar.zst
nixlib-d574c34e0a3f937a263fd4ef0ee45776fd7520c8.zip
Merge branch 'master' of git://github.com/madjar/nixpkgs
silver-searcher: avoid -lgcc_s on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/text/silver-searcher/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/silver-searcher/default.nix b/pkgs/tools/text/silver-searcher/default.nix
index e8a1ee96505c..d5d022c8063f 100644
--- a/pkgs/tools/text/silver-searcher/default.nix
+++ b/pkgs/tools/text/silver-searcher/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
     sha256 = "b6993e077f650eb0976cbc924640665fa9b2499a899ecba5a6cad5cf9addfdff";
   };
 
-  NIX_LDFLAGS = "-lgcc_s";
+  NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
 
   buildInputs = [ autoreconfHook pkgconfig pcre zlib lzma ];