mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
nim: don't hardcode gcc
This commit is contained in:
parent
9bf79add13
commit
89d71c5279
@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
|
||||
phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" "checkPhase" ];
|
||||
|
||||
buildPhase = ''
|
||||
# use gcc to trigger the linker since calling ld in build.sh causes an error
|
||||
LD=gcc
|
||||
# use $CC to trigger the linker since calling ld in build.sh causes an error
|
||||
LD=$CC
|
||||
# build.sh wants to write to $HOME/.cache
|
||||
HOME=$TMPDIR
|
||||
sh build.sh
|
||||
|
Loading…
Reference in New Issue
Block a user