diff --git a/tests/test-sources/modules/clipboard.nix b/tests/test-sources/modules/clipboard.nix index 83c253a5..fe2bbfa8 100644 --- a/tests/test-sources/modules/clipboard.nix +++ b/tests/test-sources/modules/clipboard.nix @@ -1,3 +1,4 @@ +{ pkgs, ... }: { example-with-str = { clipboard = { @@ -21,7 +22,9 @@ example-with-raw-lua = { clipboard = { 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; }; }; }