mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #11131 from svend/ipmitool-darwin
ipmitool: Fix build on darwin
This commit is contained in:
commit
b572ab99f7
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user