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
+1 -1
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"'