python-2.7: Don't repeat the version number "2.7" in build instructions. Instead, use the variable ${majorVersion}.
svn path=/nixpkgs/trunk/; revision=27162
This commit is contained in:
parent
db7c4adb80
commit
fa08bf65c4
|
@ -57,10 +57,10 @@ let
|
||||||
done
|
done
|
||||||
'' + optionalString stdenv.isCygwin ''
|
'' + optionalString stdenv.isCygwin ''
|
||||||
# On Cygwin, `make install' tries to read this Makefile.
|
# On Cygwin, `make install' tries to read this Makefile.
|
||||||
mkdir -p $out/lib/python2.7/config
|
mkdir -p $out/lib/python${majorVersion}/config
|
||||||
touch $out/lib/python2.7/config/Makefile
|
touch $out/lib/python${majorVersion}/config/Makefile
|
||||||
mkdir -p $out/include/python2.7
|
mkdir -p $out/include/python${majorVersion}
|
||||||
touch $out/include/python2.7/pyconfig.h
|
touch $out/include/python${majorVersion}/pyconfig.h
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-msse2";
|
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-msse2";
|
||||||
|
|
Loading…
Reference in a new issue