mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
knockknock: switch patchPhase to postPatch
This commit is contained in:
parent
db93862a2c
commit
334f9d9766
1 changed files with 1 additions and 1 deletions
|
@ -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"'
|
||||
|
|
Loading…
Reference in a new issue