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:
parent
e7c6623372
commit
fc9f42487e
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue