diff --git a/pkgs/tools/system/ipmitool/default.nix b/pkgs/tools/system/ipmitool/default.nix index 987648e69af5..930778fe573f 100644 --- a/pkgs/tools/system/ipmitool/default.nix +++ b/pkgs/tools/system/ipmitool/default.nix @@ -12,6 +12,10 @@ stdenv.mkDerivation { sha256 = "0y6g8xg9p854n7xm3kds8m3d53jrsllnknp8lcr3jscf99j4x5ph"; }; + patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace src/plugins/ipmi_intf.c --replace "s6_addr16" "s6_addr" + ''; + buildInputs = [ openssl ]; preConfigure = ''