UX of nix store repair is weird/bad now #888

Open
opened 2025-06-28 19:50:18 +00:00 by emilazy · 1 comment
Member

It reports error: operation 'repairPath' is not supported by store 'daemon' without an explicit --store local, even if run as root; maybe it should avoid using the daemon entirely? (Or maybe the daemon should just support it…)

It reports `error: operation 'repairPath' is not supported by store 'daemon'` without an explicit `--store local`, even if run as `root`; maybe it should avoid using the daemon entirely? (Or maybe the daemon should just support it…)
Owner

repairPath as an operation is cursed. repair in general is cursed. nix-store -r --repair is not nix store repair is not nix-store --verify --repair, but nix store repair is nix-store --repair-path (which can only substitute, never build). we're of the opinion that substitution-only repair simply should not exist and nix-store -r --repair should be the default behavior, which coincidentally also works just fine

`repairPath` as an operation is cursed. repair in general is cursed. `nix-store -r --repair` is not `nix store repair` is not `nix-store --verify --repair`, but `nix store repair` is `nix-store --repair-path` (which can only substitute, never build). we're of the opinion that substitution-only repair simply should not exist and `nix-store -r --repair` should be the default behavior, which coincidentally also works just fine
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#888
No description provided.