Skip to content

Feature: Support NixOS #255

@wvhulle

Description

@wvhulle

Describe the bug
The current architecture of the application prevents it from being build with Nix.

I managed to get the build working, but it crashes right after startup.

Environment:

  • OS: Linux NixOS 25.05
  • Version: 0.20.0

To Reproduce

  1. Build with nix-build
  2. Launch aider-desk

Expected behavior

It should not crash on launch because uv missing.

Additional context

Output

❯ /nix/store/2gvgjka47m69s4l9ck438g4czvxwyggs-aider-desk-0.20.0/bin/aider-desk
info: ------------ Starting AiderDesk... ------------ {"timestamp":"2025-07-06T14:46:23.692Z"}
info: Initializing fix-path... {"timestamp":"2025-07-06T14:46:23.693Z"}
(node:87417) electron: Failed to load URL: file:///nix/store/2gvgjka47m69s4l9ck438g4czvxwyggs-aider-desk-0.20.0/lib/aider-desk/main/src/renderer/progress.html with error: ERR_FILE_NOT_FOUND
(Use `electron --trace-warnings ...` to show where the warning was created)
info: Starting AiderDesk setup process {"timestamp":"2025-07-06T14:46:24.985Z"}
info: Checking uv availability {"timestamp":"2025-07-06T14:46:25.986Z"}
error: uv is not available or not working {"error":{"cmd":"\"/nix/store/2gvgjka47m69s4l9ck438g4czvxwyggs-aider-desk-0.20.0/lib/resources/linux/uv\" --version","code":127,"killed":false,"signal":null,"stderr":"/bin/sh: line 1: /nix/store/2gvgjka47m69s4l9ck438g4czvxwyggs-aider-desk-0.20.0/lib/resources/linux/uv: No such file or directory\n","stdout":""},"timestamp":"2025-07-06T14:46:25.997Z"}
error: AiderDesk setup failed {"error":{},"timestamp":"2025-07-06T14:46:25.997Z"}

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