Skip to content

NixOS: image paste fails due to missing wayland library path #48931

Closed

Description

@hackrdotsh

Description

On NixOS, we're missing the wayland library path which fails to load libwayland-client.so.0 on nixOS.

I have a proposed fix in #48928

Plugins

N/A

OpenCode version

0.0.0-beta-19271

Steps to reproduce

  1. Run a Nix-packaged OpenCode V2 CLI in a Wayland session without the wrapper workaround above - I believe specifically on NixOS otherwise you may find the wayland library installed elsewhere on your system.
  2. Copy a screenshot or PNG image to the clipboard.
  3. Attempt to paste the image as one normally would.
  4. See the image not being attached.

Screenshot and/or share link

No response

Operating System

NixOS 26.11

Terminal

Ghostty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions