zs-apc-spdu-ctl: don't put runtime deps into buildInputs
This commit is contained in:
parent
bfa344e273
commit
dcba35f22b
|
@ -20,11 +20,11 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ fping libowlevelzs net-snmp ];
|
buildInputs = [ libowlevelzs net-snmp ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/confent.cxx \
|
substituteInPlace src/confent.cxx \
|
||||||
--replace /usr/sbin/fping "${lib.makeBinPath [fping]}/fping"
|
--replace /usr/sbin/fping "${fping}/bin/fping"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue