mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
ProofGeneral: 4.3pre131011 -> 4.3pre150313
This commit is contained in:
parent
bbc7e18ed7
commit
1173278f34
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake, enableDoc ? false }:
|
{ stdenv, fetchurl, emacs, texinfo, texLive, perl, which, automake, enableDoc ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "ProofGeneral-4.3pre131011";
|
name = "ProofGeneral-4.3pre150313";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-4.3pre131011.tgz;
|
url = "http://proofgeneral.inf.ed.ac.uk/releases/${name}.tgz";
|
||||||
sha256 = "0104iy2xik5npkdg9p2ir6zqyrmdc93azrgm3ayvg0z76vmnb816";
|
sha256 = "1jq5ykkk14xr5qcn4kyxmi5ls0fibr0y47gfygzm1mzrfvz9aw3f";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = name;
|
sourceRoot = name;
|
||||||
|
@ -7,7 +7,7 @@ diff -r c7d8bfff4c0a bin/proofgeneral
|
|||||||
if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then
|
if [ -z "$PGHOME" ] || [ ! -d "$PGHOME" ]; then
|
||||||
- # default relative to this script, otherwise PGHOMEDEFAULT
|
- # default relative to this script, otherwise PGHOMEDEFAULT
|
||||||
- MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`"
|
- MYDIR="`readlink --canonicalize "$0" | sed -ne 's,/bin/proofgeneral$,,p'`"
|
||||||
- if [ -d "$MYDIR" ]; then
|
- if [ -d "$MYDIR/generic" ]; then
|
||||||
- PGHOME="$MYDIR"
|
- PGHOME="$MYDIR"
|
||||||
- elif [ -d "$PGHOMEDEFAULT" ]; then
|
- elif [ -d "$PGHOMEDEFAULT" ]; then
|
||||||
+ if [ -d "$PGHOMEDEFAULT" ]; then
|
+ if [ -d "$PGHOMEDEFAULT" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user