ipmitool: Fix build on darwin

s6_addr16 is not available on Mac OS X.

+4
+4
pkgs/tools/system/ipmitool/default.nix
··· 12 12 sha256 = "0y6g8xg9p854n7xm3kds8m3d53jrsllnknp8lcr3jscf99j4x5ph"; 13 13 }; 14 14 15 + patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' 16 + substituteInPlace src/plugins/ipmi_intf.c --replace "s6_addr16" "s6_addr" 17 + ''; 18 + 15 19 buildInputs = [ openssl ]; 16 20 17 21 preConfigure = ''