···1111, perl
1212, luajit
1313, darwin
1414+, libiconv
1415, python3
1516}:
1617···127128 --replace " -L${stdenv.cc.libc}/lib" "" \
128129 --replace " -L${darwin.libobjc}/lib" "" \
129130 --replace " -L${darwin.libunwind}/lib" "" \
130130- --replace " -L${darwin.libiconv}/lib" ""
131131+ --replace " -L${libiconv}/lib" ""
131132132133 # All the libraries we stripped have -osx- in their name as of this time.
133134 # Assert now that this pattern no longer appears in config.mk.
···22737227372273822738 # GNU libc provides libiconv so systems with glibc don't need to
2273922739 # build libiconv separately. Additionally, Apple forked/repackaged
2274022740- # libiconv so we use that instead of the vanilla version on that OS,
2274022740+ # libiconv, so build and use the upstream one with a compatible ABI,
2274122741 # and BSDs include libiconv in libc.
2274222742 #
2274322743 # We also provide `libiconvReal`, which will always be a standalone libiconv,
···2274822748 then libcCross
2274922749 else stdenv.cc.libc)
2275022750 else if stdenv.hostPlatform.isDarwin
2275122751- then darwin.libiconv
2275122751+ then libiconvReal.override { enableDarwinABICompat = true; }
2275222752 else libiconvReal;
22753227532275422754 libcIconv = libc: let
···2276522765 if lib.elem stdenv.hostPlatform.libc [ "glibc" "musl" ] then
2276622766 lib.getBin stdenv.cc.libc
2276722767 else if stdenv.hostPlatform.isDarwin then
2276822768- lib.getBin darwin.libiconv
2276822768+ lib.getBin libiconv
2276922769 else
2277022770 lib.getBin libiconvReal;
2277122771
+4
pkgs/top-level/darwin-aliases.nix
···5050 ### B ###
51515252 builder = throw "'darwin.builder' has been changed and renamed to 'darwin.linux-builder'. The default ssh port is now 31022. Please update your configuration or override the port back to 22. See https://nixos.org/manual/nixpkgs/unstable/#sec-darwin-builder"; # added 2023-07-06
5353+5454+ ### L ###
5555+5656+ libiconv = pkgs.libiconv; # 2024-03-27
5357})