3
0
Fork 0
forked from mirrors/nixpkgs

pkgsMusl.bison: fix tests by adding iconv workaround for musl

gnulib relies on --host= to check if iconv() on the platform
might convert unsupported symbols to '*'. Noticed as failed tests.
This commit is contained in:
Sergei Trofimovich 2021-10-17 14:48:19 +01:00
parent faf06a88de
commit 10ac0a8937

View file

@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-BsnhO99+sk1M62tZIFpPZ8LH5yExGWREMP6C+9FKCrs=";
};
# gnulib relies on --host= to detect iconv() features on musl().
# Otherwise tests fail due to incorrect unicode symbol oconversion.
configurePlatforms = [ "build" "host" ];
nativeBuildInputs = [ m4 perl ] ++ lib.optional stdenv.isSunOS help2man;
propagatedBuildInputs = [ m4 ];