Fixed idris wrapper to make idris work with different backends.

Closes #4314
This commit is contained in:
Maksymilian Owsianny 2014-09-29 00:51:21 +02:00 committed by Mateusz Kowalczyk
parent 6b2ecc5b39
commit a7197741ac

View File

@ -6,5 +6,6 @@ runCommand "idris-wrapper" {} ''
ln -s ${idris_plain}/bin/idris $out/bin
wrapProgram $out/bin/idris \
--suffix NIX_CFLAGS_COMPILE : '"-I${gmp}/include -L${gmp}/lib -L${boehmgc}/lib"' \
--suffix PATH : ${gcc}/bin
--suffix PATH : ${gcc}/bin \
--suffix PATH : ${idris_plain}/bin
''