* Backwards compatibility hack for Stratego/XT packages.

svn path=/nixpkgs/trunk/; revision=14608
This commit is contained in:
Eelco Dolstra 2009-03-19 13:59:31 +00:00
parent 79bfd749a0
commit b460175a7e

View File

@ -69,6 +69,11 @@ stdenv.mkDerivation (
autoconfPhase = ''
export VERSION=${version}
export VERSION_SUFFIX=${versionSuffix}
# `svn-revision' is set for backwards compatibility with the old
# Nix buildfarm. (Stratego/XT's autoxt uses it. We should
# update it eventually.)
echo ${versionSuffix} | sed -e s/pre// > svn-revision
eval "$preAutoconf"