mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
tests/modules/clipboard: do not enable wl-copy on non-linux platforms
This commit is contained in:
parent
68646d386a
commit
44569a6083
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
example-with-str = {
|
example-with-str = {
|
||||||
clipboard = {
|
clipboard = {
|
||||||
|
@ -21,7 +22,9 @@
|
||||||
example-with-raw-lua = {
|
example-with-raw-lua = {
|
||||||
clipboard = {
|
clipboard = {
|
||||||
register.__raw = ''vim.env.SSH_TTY and "" or "unnamedplus"'';
|
register.__raw = ''vim.env.SSH_TTY and "" or "unnamedplus"'';
|
||||||
providers.wl-copy.enable = true;
|
|
||||||
|
# wl-copy is only available on linux
|
||||||
|
providers.wl-copy.enable = pkgs.stdenv.hostPlatform.isLinux;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue