add idris wrapper
This commit is contained in:
parent
a72ca55dd8
commit
3f9723e02e
10
pkgs/development/compilers/idris/wrapper.nix
Normal file
10
pkgs/development/compilers/idris/wrapper.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ gmp, makeWrapper, gcc, runCommand, idris_plain}:
|
||||
|
||||
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 PATH : ${gcc}/bin
|
||||
''
|
@ -2243,7 +2243,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
darcs = callPackage ../applications/version-management/darcs {};
|
||||
|
||||
idris = callPackage ../development/compilers/idris {};
|
||||
idris_plain = callPackage ../development/compilers/idris {};
|
||||
|
||||
idris = callPackage ../development/compilers/idris/wrapper.nix {};
|
||||
|
||||
leksah = callPackage ../applications/editors/leksah {
|
||||
QuickCheck = self.QuickCheck2;
|
||||
|
Loading…
Reference in New Issue
Block a user