3
0
Fork 0
forked from mirrors/nixpkgs

Trying to fix the tarball, related to a problem introduced in 32596.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32606
This commit is contained in:
Lluís Batlle i Rossell 2012-02-26 21:40:37 +00:00
parent e7c6623372
commit fc9f42487e

View file

@ -674,12 +674,15 @@ let pythonPackages = python.modules // rec {
configureFlags = "--with-python=${python}"; configureFlags = "--with-python=${python}";
postConfigure = '' postConfigure = let
cd python changeIconv = "-e s:^iconv_includes.*:iconv_includes=r'${pkgs.libxml2.libiconv}':";
sed -i setup.py \ in
-e "s:^ROOT.*:ROOT = r'${pkgs.libxml2}':" \ ''
-e "s:^iconv_includes.*:iconv_includes= r'${pkgs.libxml2.libiconv}':" cd python
''; sed -i setup.py \
-e "s:^ROOT.*:ROOT = r'${pkgs.libxml2}':" \
${if pkgs.libxml2.libiconv != null then changeIconv else ""}
'';
# has no tests # has no tests
doCheck = false; doCheck = false;