chkrootkit: fixup relative path usage

This commit is contained in:
Will Dietz 2017-12-28 17:18:16 -06:00
parent c333e9b348
commit fec590e594

View file

@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
# TODO: a lazy work-around for linux build failure ...
makeFlags = [ "STATIC=" ];
postPatch = ''
substituteInPlace chkrootkit \
--replace " ./" " $out/bin/"
'';
installPhase = ''
mkdir -p $out/sbin
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin