pkgs/top-level/all-packages.nix: prefer makeOverridable over getPkgConfig to customize ipmitool
Changed 'ipmitool' expression to allow for argument overriding instead of relying on getPkgConfig. svn path=/nixpkgs/trunk/; revision=21863
This commit is contained in:
parent
9c812655ce
commit
d9c1f1b118
|
@ -953,9 +953,9 @@ let
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
ipmitool = import ../tools/system/ipmitool {
|
ipmitool = makeOverridable (import ../tools/system/ipmitool) {
|
||||||
inherit fetchurl stdenv openssl;
|
inherit fetchurl stdenv openssl;
|
||||||
static = !stdenv.isDarwin && getPkgConfig "ipmitool" "static" false;
|
static = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
jdiskreport = import ../tools/misc/jdiskreport {
|
jdiskreport = import ../tools/misc/jdiskreport {
|
||||||
|
|
Loading…
Reference in New Issue