Merge pull request #33152 from dtzWill/fix/chkrootkit-relative-paths
chkrootkit: fixup relative path usage
This commit is contained in:
commit
1a2ffbcf2f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue