knockknock: fix build

This commit is contained in:
Domen Kožar 2015-11-11 13:42:33 +01:00
parent 2ee7aaf46b
commit 1616f13195

View file

@ -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"'
'';