aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libsodium
diff options
context:
space:
mode:
authorEric Seidel <gridaphobe@gmail.com>2015-05-11 14:37:53 -0700
committerEric Seidel <gridaphobe@gmail.com>2015-05-11 14:44:50 -0700
commit662a6b1ca62b2e44115f6e29999f30896ddfa075 (patch)
treede5c2d6b8130d3e1d9c89038c32a22eef2bf423a /pkgs/development/libraries/libsodium
parent395829686d0219b3e14fe6ffae60a24b4e50370b (diff)
remove all references to `stdenv.cc.cc.is{GNU,Clang}`
use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be defined.
Diffstat (limited to 'pkgs/development/libraries/libsodium')
-rw-r--r--pkgs/development/libraries/libsodium/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libsodium/default.nix b/pkgs/development/libraries/libsodium/default.nix
index f824ab864a16..0b0656df4f66 100644
--- a/pkgs/development/libraries/libsodium/default.nix
+++ b/pkgs/development/libraries/libsodium/default.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "120jkda2q58p0n68banh64vsfm3hgqnacagj425d218cr4ycdkyb";
};
- NIX_LDFLAGS = stdenv.lib.optionalString (stdenv.cc.cc.isGNU or false) "-lssp";
+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.cc.isGNU "-lssp";
doCheck = true;