guile: workaround for libunistring / darwin libiconv (#364503)

+24 -3
+8 -1
pkgs/development/interpreters/guile/2.0.nix
··· 11 11 libffi, 12 12 libtool, 13 13 libunistring, 14 + libiconvReal, 14 15 makeWrapper, 15 16 pkg-config, 16 17 pkgsBuildBuild, 17 18 readline, 18 - }: 19 + }@args: 19 20 20 21 let 21 22 # Do either a coverage analysis build or a standard build. 22 23 builder = if coverageAnalysis != null then coverageAnalysis else stdenv.mkDerivation; 24 + # workaround for libiconv bug in macOS 14/15 25 + libunistring = 26 + if stdenv.hostPlatform.isDarwin then 27 + args.libunistring.override { libiconv = libiconvReal; } 28 + else 29 + args.libunistring; 23 30 in 24 31 builder rec { 25 32 pname = "guile";
+8 -1
pkgs/development/interpreters/guile/2.2.nix
··· 11 11 libffi, 12 12 libtool, 13 13 libunistring, 14 + libiconvReal, 14 15 makeWrapper, 15 16 pkg-config, 16 17 pkgsBuildBuild, 17 18 readline, 18 - }: 19 + }@args: 19 20 20 21 let 21 22 # Do either a coverage analysis build or a standard build. 22 23 builder = if coverageAnalysis != null then coverageAnalysis else stdenv.mkDerivation; 24 + # workaround for libiconv bug in macOS 14/15 25 + libunistring = 26 + if stdenv.hostPlatform.isDarwin then 27 + args.libunistring.override { libiconv = libiconvReal; } 28 + else 29 + args.libunistring; 23 30 in 24 31 builder rec { 25 32 pname = "guile";
+8 -1
pkgs/development/interpreters/guile/3.0.nix
··· 11 11 libffi, 12 12 libtool, 13 13 libunistring, 14 + libiconvReal, 14 15 libxcrypt, 15 16 makeWrapper, 16 17 pkg-config, 17 18 pkgsBuildBuild, 18 19 readline, 19 20 writeScript, 20 - }: 21 + }@args: 21 22 22 23 let 23 24 # Do either a coverage analysis build or a standard build. 24 25 builder = if coverageAnalysis != null then coverageAnalysis else stdenv.mkDerivation; 26 + # workaround for libiconv bug in macOS 14/15 27 + libunistring = 28 + if stdenv.hostPlatform.isDarwin then 29 + args.libunistring.override { libiconv = libiconvReal; } 30 + else 31 + args.libunistring; 25 32 in 26 33 builder rec { 27 34 pname = "guile";