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:
commit
54be459b7f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue