Skip to content

Running embedded claude executable fails on NixOS #501

@IwailerI

Description

@IwailerI

Issue specific to NixOS. Verified with both user systemd service and a manually started system package.
Using latest (v1.42.1 currently)

All queries result in the following error:

e11d56c8-022f-4f84-a169-54deab771463 sdk_termination reason=process_exit exit=127 model=sonnet resume=false deferred=false stderr="Could not start dynamically linked executable: /nix/store/pxvw9hzrbh6x309nbxz0j37d39az4n1s-meridian-1.42.1/lib/meridian/node_modules/@anthropic-ai/claude-code/bin/claude.exe\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld"

Unescaped stderr:

Could not start dynamically linked executable: /nix/store/pxvw9hzrbh6x309nbxz0j37d39az4n1s-meridian-1.42.1/lib/meridian/node_modules/@anthropic-ai/claude-code/bin/claude.exe
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld

Any help greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions