You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot copy to clipboard:
Running ("pbcopy",[]) failed with exception: pbcopy: startProcess: posix_spawnp: does not exist (No such file or directory).
Running ("wl-copy",[]) failed with exception: wl-copy: startProcess: posix_spawnp: does not exist (No such file or directory).
Running ("xclip",["-selection","clipboard"]) failed with exception: xclip: startProcess: posix_spawnp: does not exist (No such file or directory).
Running ("xsel",["-i","-b"]) failed with exception: xsel: startProcess: posix_spawnp: does not exist (No such file or directory).
Please report this as a bug.
As you can see, we do go through a couple of possible apps to copy to clipboard (as I couldn't find a ready to use Haskell library that provides a cross platform copy-to-clipboard functionality). And if none exists, we fail. An easy fix would be to install one of them.
A better solution would be to update nixpkgs to add one of them as a runtime dependency. But I believe that'd introduce a dependency to X that I want to avoid. So we could add an optional (but default off) dependency, but at that point it'd be just easier for the users to install one of them instead of figuring out how to flip that flag on.
So what I'll do instead is that I'll fix the error message so it doesn't say "report this as a bug", but says something like "install ... application to use this functionality".
The text was updated successfully, but these errors were encountered: