diff options
author | Eric Seidel <gridaphobe@gmail.com> | 2015-01-14 20:25:26 -0800 |
---|---|---|
committer | Eric Seidel <gridaphobe@gmail.com> | 2015-01-14 20:27:55 -0800 |
commit | f3c6827373be102caae5dcbadd31e73ed60fa17f (patch) | |
tree | 9f9d57c16edc218bd590ca9956eb5227d084c33f /pkgs/development/guile-modules/guile-lib | |
parent | 16fe4be790f541d68c01897640fda11f9673b8e9 (diff) |
rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc
Diffstat (limited to 'pkgs/development/guile-modules/guile-lib')
-rw-r--r-- | pkgs/development/guile-modules/guile-lib/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/guile-modules/guile-lib/default.nix b/pkgs/development/guile-modules/guile-lib/default.nix index 258fe1e497e3..10d98dbf7c3d 100644 --- a/pkgs/development/guile-modules/guile-lib/default.nix +++ b/pkgs/development/guile-modules/guile-lib/default.nix @@ -1,6 +1,6 @@ {stdenv, fetchurl, guile, texinfo}: -assert stdenv ? cc && stdenv.cc ? gcc && stdenv.cc.gcc != null; +assert stdenv ? cc && stdenv.cc.cc.isGNU or false; stdenv.mkDerivation rec { name = "guile-lib-0.2.2"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { preCheck = # Make `libgcc_s.so' visible for `pthread_cancel'. - '' export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.cc.gcc}/lib*/libgcc_s.so)):$LD_LIBRARY_PATH" + '' export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.cc.cc}/lib*/libgcc_s.so)):$LD_LIBRARY_PATH" ''; meta = { |