summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorValentin Robert <valentin.robert.42@gmail.com>2017-05-25 12:51:04 -0700
committerValentin Robert <valentin.robert.42@gmail.com>2017-05-25 12:51:04 -0700
commit200d5c0c99fdf64d30b5730e9feec44894bd9196 (patch)
tree92ea5095113571382284316d5d35a812bd750b79 /pkgs/applications/editors
parent80918692e1d865e75cb2286705d392f12829f728 (diff)
downloadnixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.tar
nixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.tar.gz
nixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.tar.bz2
nixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.tar.lz
nixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.tar.xz
nixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.tar.zst
nixlib-200d5c0c99fdf64d30b5730e9feec44894bd9196.zip
proofgeneral: revert needed deleted file
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch b/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch
new file mode 100644
index 000000000000..704e4b6c8c7a
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch
@@ -0,0 +1,16 @@
+diff -r c7d8bfff4c0a bin/proofgeneral
+--- a/bin/proofgeneral	Sat Sep 27 02:25:15 2014 +0100
++++ b/bin/proofgeneral	Sat Sep 27 02:28:16 2014 +0100
+@@ -73,11 +73,7 @@
+ 
+ # Try to find Proof General directory
+ if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then
+-    # default relative to this script, otherwise PGHOMEDEFAULT
+-    MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`"
+-    if [ -d "$MYDIR/generic" ]; then
+-	PGHOME="$MYDIR"
+-    elif [ -d "$PGHOMEDEFAULT" ]; then
++    if [ -d "$PGHOMEDEFAULT" ]; then
+ 	PGHOME="$PGHOMEDEFAULT"
+     else
+ 	echo "Cannot find the Proof General lisp files: Set PGHOME or use --pghome."