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,11 +674,14 @@ let pythonPackages = python.modules // rec {
configureFlags = "--with-python=${python}"; configureFlags = "--with-python=${python}";
postConfigure = '' postConfigure = let
changeIconv = "-e s:^iconv_includes.*:iconv_includes=r'${pkgs.libxml2.libiconv}':";
in
''
cd python cd python
sed -i setup.py \ sed -i setup.py \
-e "s:^ROOT.*:ROOT = r'${pkgs.libxml2}':" \ -e "s:^ROOT.*:ROOT = r'${pkgs.libxml2}':" \
-e "s:^iconv_includes.*:iconv_includes= r'${pkgs.libxml2.libiconv}':" ${if pkgs.libxml2.libiconv != null then changeIconv else ""}
''; '';
# has no tests # has no tests