Revert "Trying to fix the tarball, related to a problem introduced in 32596."
This reverts commit d5172b093cb152e150620eee36141dcf7feb259d. svn path=/nixpkgs/branches/stdenv-updates/; revision=32648
This commit is contained in:
parent
5f3d291001
commit
0d8bea54e0
@ -674,14 +674,11 @@ let pythonPackages = python.modules // rec {
|
|||||||
|
|
||||||
configureFlags = "--with-python=${python}";
|
configureFlags = "--with-python=${python}";
|
||||||
|
|
||||||
postConfigure = let
|
postConfigure = ''
|
||||||
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}':" \
|
||||||
${if pkgs.libxml2.libiconv != null then changeIconv else ""}
|
-e "s:^iconv_includes.*:iconv_includes= r'${pkgs.libxml2.libiconv}':"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user