mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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:
parent
249badd76f
commit
ea102b34f6
@ -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
|
||||
|
1004
pkgs/development/compilers/pakcs/pakcs-ghc741.patch
Normal file
1004
pkgs/development/compilers/pakcs/pakcs-ghc741.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user