Merge pull request #2979 from bluescreen303/idris

Idris: fix wrapper for llvm, upgrade emacs-idris-mode
This commit is contained in:
Peter Simons
2014-06-18 10:00:00 +02:00
2 changed files with 9 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
{ gmp, makeWrapper, gcc, runCommand, idris_plain}:
{ gmp, makeWrapper, gcc, runCommand, idris_plain, boehmgc}:
runCommand "idris-wrapper" {} ''
source ${makeWrapper}/nix-support/setup-hook
mkdir -p $out/bin
ln -s ${idris_plain}/bin/idris $out/bin
wrapProgram $out/bin/idris \
--suffix NIX_CFLAGS_COMPILE : '"-I${gmp}/include -L${gmp}/lib"' \
--suffix NIX_CFLAGS_COMPILE : '"-I${gmp}/include -L${gmp}/lib -L${boehmgc}/lib"' \
--suffix PATH : ${gcc}/bin
''