Merge pull request #11131 from svend/ipmitool-darwin

ipmitool: Fix build on darwin
This commit is contained in:
Jaka Hudoklin 2015-11-18 22:56:44 +01:00
commit b572ab99f7

View File

@ -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 = ''