voxtype: fix output mode paste
Voxtype requires the command `cat` from `coreutils` when using the output mode `paste`, but fails with the current configuration because it cannot find `cat`. ``` WARN paste (clipboard + keystroke) failed: Text injection failed: wl-copy exited with error, trying next ``` This commit adds `coreutils` to the runtime path to resolve the path to `cat`.
This commit is contained in:
parent
1b7fb5e6b4
commit
ed8263e7d7
2 changed files with 5 additions and 2 deletions
|
|
@ -141,7 +141,10 @@ in
|
|||
Service =
|
||||
let
|
||||
runtimePath = makeBinPath (
|
||||
[ pkgs.which ]
|
||||
[
|
||||
pkgs.coreutils
|
||||
pkgs.which
|
||||
]
|
||||
++ optionals (cfg.x11.display != null) [ pkgs.xclip ]
|
||||
++ optionals (cfg.wayland.display != null) [
|
||||
pkgs.wl-clipboard
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
WantedBy=default.target
|
||||
|
||||
[Service]
|
||||
Environment=PATH=@which@/bin:@wl-clipboard@/bin:@wtype@/bin
|
||||
Environment=PATH=/nix/store/00000000000000000000000000000000-coreutils/bin:@which@/bin:@wl-clipboard@/bin:@wtype@/bin
|
||||
Environment=XDG_RUNTIME_DIR=%t
|
||||
Environment=WAYLAND_DISPLAY=wayland-1
|
||||
Environment=VOXTYPE_TEST_ENV=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue