From 334f9d976695dd7238d3dc69b30f5e297609dc84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 12 Nov 2021 16:34:06 +0100 Subject: [PATCH] knockknock: switch patchPhase to postPatch --- pkgs/tools/security/knockknock/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/knockknock/default.nix b/pkgs/tools/security/knockknock/default.nix index 960667e72def..0c46c546a375 100644 --- a/pkgs/tools/security/knockknock/default.nix +++ b/pkgs/tools/security/knockknock/default.nix @@ -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"'