zs-apc-spdu-ctl: don't put runtime deps into buildInputs

This commit is contained in:
zseri 2021-03-23 22:30:44 +01:00
parent bfa344e273
commit dcba35f22b
No known key found for this signature in database
GPG key ID: 229E63AE5644A96D

View file

@ -20,11 +20,11 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
buildInputs = [ fping libowlevelzs net-snmp ];
buildInputs = [ libowlevelzs net-snmp ];
postPatch = ''
substituteInPlace src/confent.cxx \
--replace /usr/sbin/fping "${lib.makeBinPath [fping]}/fping"
--replace /usr/sbin/fping "${fping}/bin/fping"
'';
meta = with lib; {