mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
add idris wrapper
This commit is contained in:
parent
c78ba70c2f
commit
35d3e38d54
2 changed files with 13 additions and 1 deletions
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 a new issue