ocaml: don't add bin-utils for darwin

This commit is contained in:
Antonio Nuno Monteiro 2024-11-27 23:37:34 -08:00
parent 991195ade7
commit 5020a1c82a

View File

@ -111,7 +111,7 @@ stdenv.mkDerivation (args // {
else ["nixpkgs_world"];
buildInputs = optional (lib.versionOlder version "4.07") ncurses
++ optionals useX11 [ libX11 xorgproto ];
depsBuildBuild = [ binutils ];
depsBuildBuild = lib.optionals (!stdenv.hostPlatform.isDarwin) [ binutils ];
propagatedBuildInputs = optional spaceTimeSupport libunwind;
installTargets = [ "install" ] ++ optional useNativeCompilers "installopt";
preConfigure = optionalString (lib.versionOlder version "4.04") ''