mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
idris: provide boehmgc to compile with llvm backend
This commit is contained in:
parent
c585786c1f
commit
8d708ba35a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue