about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-08 23:59:19 +0200
committerGitHub <noreply@github.com>2022-05-08 23:59:19 +0200
commitfd9aa19396edb15669ab33f97f9b0beef161ff53 (patch)
tree80d99ead83d177086ab87b43512c8f060144e6ad /pkgs/misc
parent5c1adf9ffd3488a5c6620b73e3eab9cfef68944e (diff)
parent51838e184e797af125183e62c17a81116bc37942 (diff)
Merge pull request #171953 from Artturin/netcatbsd
netcat-openbsd: init at 1.218-5
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/flashfocus/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix
index fd93260a4bca6..b74464de4f680 100644
--- a/pkgs/misc/flashfocus/default.nix
+++ b/pkgs/misc/flashfocus/default.nix
@@ -1,4 +1,4 @@
-{ lib, python3 }:
+{ lib, python3, netcat-openbsd }:
 
 python3.pkgs.buildPythonApplication rec {
   pname = "flashfocus";
@@ -12,6 +12,9 @@ python3.pkgs.buildPythonApplication rec {
   postPatch = ''
     substituteInPlace setup.py \
       --replace "pyyaml>=5.1,<6.0" "pyyaml>=5.1"
+
+    substituteInPlace bin/nc_flash_window \
+      --replace "nc" "${lib.getExe netcat-openbsd}"
   '';
 
   nativeBuildInputs = with python3.pkgs; [