Skip to content

Commit

Permalink
ipmitool: fix compile on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Mar 1, 2020
1 parent 43ec75d commit 8221755
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/tools/system/ipmitool/default.nix
Expand Up @@ -17,6 +17,11 @@ stdenv.mkDerivation {
url = "https://sources.debian.org/data/main/i/ipmitool/1.8.18-6/debian/patches/0120-openssl1.1.patch";
sha256 = "1xvsjxb782lzy72bnqqnsk3r5h4zl3na95s4pqn2qg7cic2mnbfk";
})
# Fix build on non-linux systems
(fetchpatch {
url = "https://github.com/ipmitool/ipmitool/commit/5db314f694f75c575cd7c9ffe9ee57aaf3a88866.patch";
sha256 = "01niwrgajhrdhl441gzmw6v1r1yc3i8kn98db4b6smfn5fwdp1pa";
})
];

buildInputs = [ openssl ];
Expand All @@ -39,7 +44,7 @@ stdenv.mkDerivation {
description = ''Command-line interface to IPMI-enabled devices'';
license = licenses.bsd3;
homepage = https://sourceforge.net/projects/ipmitool/;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
};
}

0 comments on commit 8221755

Please sign in to comment.