Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
This commit is contained in:
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags"
|
||||
export PATH="$PATH:${stdenv.gcc.libc}/sbin"
|
||||
export PATH="$PATH:${stdenv.cc.libc}/sbin"
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user