mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
ipmitool: Fix build on darwin
s6_addr16 is not available on Mac OS X.
This commit is contained in:
parent
3087ef37bb
commit
95282e3cfc
@ -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