knockknock: fix build
This commit is contained in:
parent
2ee7aaf46b
commit
1616f13195
@ -14,6 +14,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ pycrypto ];
|
||||
|
||||
patchPhase = ''
|
||||
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 New Issue
Block a user