From 5020a1c82a3879e6056bcedab64878226869dc62 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Wed, 27 Nov 2024 23:37:34 -0800 Subject: [PATCH] ocaml: don't add `bin-utils` for darwin --- pkgs/development/compilers/ocaml/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix index 264c3611706a..7b847b06b5b3 100644 --- a/pkgs/development/compilers/ocaml/generic.nix +++ b/pkgs/development/compilers/ocaml/generic.nix @@ -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") ''