about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDanny Wilson <danny@prime.vc>2015-11-17 11:20:33 +0100
committerDanny Wilson <danny@prime.vc>2015-11-17 11:21:12 +0100
commit62ff7367d533da02b92427997f5d2beb525fd61a (patch)
tree7ce800c4822d076e2aca431b8305e4a0135d2824 /pkgs
parent98180e3bb29388508ec1f8a6c2c2f8f4d3c40c8e (diff)
downloadnixlib-62ff7367d533da02b92427997f5d2beb525fd61a.tar
nixlib-62ff7367d533da02b92427997f5d2beb525fd61a.tar.gz
nixlib-62ff7367d533da02b92427997f5d2beb525fd61a.tar.bz2
nixlib-62ff7367d533da02b92427997f5d2beb525fd61a.tar.lz
nixlib-62ff7367d533da02b92427997f5d2beb525fd61a.tar.xz
nixlib-62ff7367d533da02b92427997f5d2beb525fd61a.tar.zst
nixlib-62ff7367d533da02b92427997f5d2beb525fd61a.zip
LDFLAGS hack is only required for SmartOS builds
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/browsers/w3m/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/w3m/default.nix b/pkgs/applications/networking/browsers/w3m/default.nix
index c9d8f626c8c6..32deafffe907 100644
--- a/pkgs/applications/networking/browsers/w3m/default.nix
+++ b/pkgs/applications/networking/browsers/w3m/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
     sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
   };
 
-  NIX_LDFLAGS = "-lsocket -lnsl";
+  NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lsocket -lnsl";
 
   patches = [ ./glibc214.patch ]
     # Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that