From 1173278f3462673dccd20b8be95cb1281a64f815 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 10 Jul 2015 00:17:38 +0200 Subject: ProofGeneral: 4.3pre131011 -> 4.3pre150313 --- pkgs/applications/editors/emacs-modes/proofgeneral/4.3pre.nix | 6 +++--- pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/editors/emacs-modes/proofgeneral/4.3pre.nix b/pkgs/applications/editors/emacs-modes/proofgeneral/4.3pre.nix index 96d7619d387b..815863ac6da1 100644 --- a/pkgs/applications/editors/emacs-modes/proofgeneral/4.3pre.nix +++ b/pkgs/applications/editors/emacs-modes/proofgeneral/4.3pre.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake, enableDoc ? false }: stdenv.mkDerivation (rec { - name = "ProofGeneral-4.3pre131011"; + name = "ProofGeneral-4.3pre150313"; src = fetchurl { - url = http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-4.3pre131011.tgz; - sha256 = "0104iy2xik5npkdg9p2ir6zqyrmdc93azrgm3ayvg0z76vmnb816"; + url = "http://proofgeneral.inf.ed.ac.uk/releases/${name}.tgz"; + sha256 = "1jq5ykkk14xr5qcn4kyxmi5ls0fibr0y47gfygzm1mzrfvz9aw3f"; }; sourceRoot = name; diff --git a/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch b/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch index c733911118de..704e4b6c8c7a 100644 --- a/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch +++ b/pkgs/applications/editors/emacs-modes/proofgeneral/pg.patch @@ -7,7 +7,7 @@ diff -r c7d8bfff4c0a bin/proofgeneral 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" ]; then +- if [ -d "$MYDIR/generic" ]; then - PGHOME="$MYDIR" - elif [ -d "$PGHOMEDEFAULT" ]; then + if [ -d "$PGHOMEDEFAULT" ]; then -- cgit 1.4.1