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

wip/yesman
zseri 3 years ago
parent bfa344e273
commit dcba35f22b
No known key found for this signature in database
GPG Key ID: 229E63AE5644A96D
  1. 4
      pkgs/tools/networking/zs-apc-spdu-ctl/default.nix

@ -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; {

Loading…
Cancel
Save