3
0
Fork 0
forked from mirrors/nixpkgs

Patch PAKCS to build with GHC 7.4.1 .

Also fix symbolic links to emacs lisp files.

svn path=/nixpkgs/trunk/; revision=34430
This commit is contained in:
Karn Kallio 2012-06-11 06:05:18 +00:00
parent 249badd76f
commit ea102b34f6
2 changed files with 1007 additions and 1 deletions

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation {
sed -i '68d' configure-pakcs
'';
patches = [ ./pakcs-ghc741.patch ];
preConfigure = ''
# Path to GHC and SWI Prolog
sed -i 's@GHC=@GHC=${ghc}/bin/ghc@' bin/.pakcs_variables
@ -43,7 +45,7 @@ stdenv.mkDerivation {
mkdir -p $out/share/emacs/site-lisp/curry-pakcs
for e in "$out/tools/emacs/"*.el ; do
ln -s $out/tools/emacs/$e $out/share/emacs/site-lisp/curry-pakcs/;
ln -s $e $out/share/emacs/site-lisp/curry-pakcs/;
done
sed -i 's@which@type -P@' $out/bin/.pakcs_wrapper

File diff suppressed because it is too large Load diff