mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
vagrant: use bin/iconv from glibc on Linux
This fixes build after #4419.
This commit is contained in:
parent
0ff8281b12
commit
5b00625aa4
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, dpkg, curl, libarchive, openssl, ruby, rubyLibs, libiconv
|
{ stdenv, fetchurl, dpkg, curl, libarchive, openssl, ruby, rubyLibs, libiconvOrLibc
|
||||||
, libxml2, libxslt }:
|
, libxml2, libxslt }:
|
||||||
|
|
||||||
assert stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
|
assert stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
|
||||||
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# libiconv: iconv
|
# libiconv: iconv
|
||||||
rm opt/vagrant/embedded/bin/iconv
|
rm opt/vagrant/embedded/bin/iconv
|
||||||
ln -s ${libiconv}/bin/iconv opt/vagrant/embedded/bin
|
ln -s ${libiconvOrLibc}/bin/iconv opt/vagrant/embedded/bin
|
||||||
|
|
||||||
# libxml: xml2-config, xmlcatalog, xmllint
|
# libxml: xml2-config, xmlcatalog, xmllint
|
||||||
rm opt/vagrant/embedded/bin/{xml2-config,xmlcatalog,xmllint}
|
rm opt/vagrant/embedded/bin/{xml2-config,xmlcatalog,xmllint}
|
||||||
|
Loading…
Reference in New Issue
Block a user