Merge pull request #7988 from johbo/fix-mod-python

mod_python: Avoid that git is called to generate a version
This commit is contained in:
Arseniy Seroka 2015-05-25 21:23:35 +03:00
commit 54be459b7f
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
patches = [ ./install.patch ];
postPatch = ''
substituteInPlace dist/version.sh \
--replace 'GIT=`git describe --always`' "" \
--replace '-$GIT' ""
'';
preInstall = ''
installFlags="LIBEXECDIR=$out/modules $installFlags"
mkdir -p $out/modules $out/bin