nim: don't hardcode gcc

This commit is contained in:
royneary 2018-10-27 16:58:44 +02:00
parent 9bf79add13
commit 89d71c5279

View File

@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" "checkPhase" ]; phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" "checkPhase" ];
buildPhase = '' buildPhase = ''
# use gcc to trigger the linker since calling ld in build.sh causes an error # use $CC to trigger the linker since calling ld in build.sh causes an error
LD=gcc LD=$CC
# build.sh wants to write to $HOME/.cache # build.sh wants to write to $HOME/.cache
HOME=$TMPDIR HOME=$TMPDIR
sh build.sh sh build.sh