diff options
author | Artturin <Artturin@artturin.com> | 2022-05-07 17:01:05 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-05-07 17:10:22 +0300 |
commit | 51838e184e797af125183e62c17a81116bc37942 (patch) | |
tree | b3d708c3d239a5dc7149647328ac91e490993dbc /pkgs/misc/flashfocus | |
parent | 165d8e6db51dc8b5699f5d43263e174af876d930 (diff) |
flashfocus: use make it possible to use nc_flash_window
it is faster than flash_window
it needs netcat-openbsd
Diffstat (limited to 'pkgs/misc/flashfocus')
-rw-r--r-- | pkgs/misc/flashfocus/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix index fd93260a4bca..b74464de4f68 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; [ |