ocaml: don't add bin-utils for darwin (#359759)

This commit is contained in:
Ulrik Strid 2024-11-28 11:04:00 +01:00 committed by GitHub
commit 46e484a4ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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") ''