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.
main
Sergei Trofimovich 3 years ago
parent faf06a88de
commit 10ac0a8937
  1. 4
      pkgs/development/tools/parsing/bison/default.nix

@ -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 ];

Loading…
Cancel
Save