Merge pull request #145636 from SuperSandro2000/knocknock

knockknock: switch patchPhase to postPatch
This commit is contained in:
Artturi 2021-11-12 20:37:45 +02:00 committed by GitHub
commit 2416e88cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ 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"'