diff options
author | Georges Dubus <georges.dubus@compiletoi.net> | 2014-03-12 17:48:32 +0100 |
---|---|---|
committer | Georges Dubus <georges.dubus@compiletoi.net> | 2014-03-12 17:48:32 +0100 |
commit | b805528552ab1fd734b7c0ec997001de1ca370a6 (patch) | |
tree | a083da4f434e634e919617bc5a7d82d9c8843c27 /pkgs/tools/text | |
parent | 4640a6b9db6dbe934df65fc204ad9e18cda403d9 (diff) |
silver-searcher: avoid -lgcc_s on darwin
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/silver-searcher/default.nix | 2 |
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 e8a1ee96505c6..d5d022c8063fe 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 ]; |