mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 02:18:37 +00:00
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,12 +674,15 @@ let pythonPackages = python.modules // rec {
|
||||
|
||||
configureFlags = "--with-python=${python}";
|
||||
|
||||
postConfigure = ''
|
||||
cd python
|
||||
sed -i setup.py \
|
||||
-e "s:^ROOT.*:ROOT = r'${pkgs.libxml2}':" \
|
||||
-e "s:^iconv_includes.*:iconv_includes= r'${pkgs.libxml2.libiconv}':"
|
||||
'';
|
||||
postConfigure = let
|
||||
changeIconv = "-e s:^iconv_includes.*:iconv_includes=r'${pkgs.libxml2.libiconv}':";
|
||||
in
|
||||
''
|
||||
cd python
|
||||
sed -i setup.py \
|
||||
-e "s:^ROOT.*:ROOT = r'${pkgs.libxml2}':" \
|
||||
${if pkgs.libxml2.libiconv != null then changeIconv else ""}
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user