Skip to content

OpenCode does not work reliably on NixOS #28964

Closed as not planned
Closed as not planned

Description

@behrangsa

Description

Hi,

I have reported this on NixOS too: NixOS/nixpkgs#522943.

But I thought sharing it here as well:

From time to time, the logs show some errors:

ERROR service=file.watcher error=libstdc++.so.6: cannot open shared object file: No such file or directory failed to load watcher binding

cleanup failed
WARN service=default error=Operation timed out after 5000ms worker shutdown failed

At times, when a command runs (e.g. cargo build), OpenCode hangs and the progress-indicator spins indefinitely. I am not sure, but it may be due to this. Or perhaps OpenCode does not configure DeepSeek models correctly.

For example, in Pi, the requiresReasoningContentOnAssistantMessages option should be set to true for DeepSeek (see https://api-docs.deepseek.com/quick_start/agent_integrations/pi_mono).

Plugins

No response

OpenCode version

1.14.48

Steps to reproduce

  1. Install OpenCode in NixOS via the NixPkgs unstable channel
  2. Configure it to use DeepSeek V4 Flash
  3. Run a lengthy session that involves many bash tool calls
  4. From time to time edit a file using an external editor

Screenshot and/or share link

No response

Operating System

NixOS 25.11

Terminal

Ghostty

Activity

  1. github-actions commented on May 23, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. github-actions commented on Jul 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions