mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
ProofGeneral: Workaround for bug #458
"ProofGeneral 4.2 byte-compilation fails with Emacs 24.2.90" http://proofgeneral.inf.ed.ac.uk/trac/ticket/458
This commit is contained in:
parent
cddad771c5
commit
d9aa18843b
@ -17,6 +17,13 @@ stdenv.mkDerivation (rec {
|
|||||||
-e "s|^\(\(DEST_\)\?PREFIX\)=.*$|\1=$out|g ; \
|
-e "s|^\(\(DEST_\)\?PREFIX\)=.*$|\1=$out|g ; \
|
||||||
s|/sbin/install-info|install-info|g"
|
s|/sbin/install-info|install-info|g"
|
||||||
|
|
||||||
|
|
||||||
|
# Workaround for bug #458
|
||||||
|
# ProofGeneral 4.2 byte-compilation fails with Emacs 24.2.90
|
||||||
|
# http://proofgeneral.inf.ed.ac.uk/trac/ticket/458
|
||||||
|
sed -i "Makefile" \
|
||||||
|
-e "s|(setq byte-compile-error-on-warn t)||g"
|
||||||
|
|
||||||
sed -i "bin/proofgeneral" -e's/which/type -p/g'
|
sed -i "bin/proofgeneral" -e's/which/type -p/g'
|
||||||
|
|
||||||
# @image{ProofGeneral} fails, so remove it.
|
# @image{ProofGeneral} fails, so remove it.
|
||||||
|
Loading…
Reference in New Issue
Block a user