1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-16 07:48:58 +00:00

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

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