knockknock: switch patchPhase to postPatch

This commit is contained in:
Sandro Jäckel 2021-11-12 16:34:06 +01:00
parent db93862a2c
commit 334f9d9766
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -17,7 +17,7 @@ in python2Packages.buildPythonApplication rec {
# No tests
doCheck = false;
patchPhase = ''
postPatch = ''
sed -i '/build\//d' setup.py
substituteInPlace setup.py --replace "/etc" "$out/etc"
substituteInPlace knockknock.py --replace 'existsInPath("hping3")' '"${hping}/bin/hping3"'