-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
(Cross-post of this issue based on this suggestion.)
Describe the bug
command_not_found_handle nixf-tidy
suggests installing nixd
, but that package does not provide a nixf-tidy
command,
Steps To Reproduce
Steps to reproduce the behavior:
- Enable
command-not-found
andnix-index
- Run
command_not_found_handle nixf-tidy
- Run the suggested command
nix-shell -p nixd.out --run 'nixf-tidy'
Actual behavior
❯ nix-shell -p nixd.out --run 'nixf-tidy'
/tmp/nix-shell-1050179-0/rc: line 3: nixf-tidy: command not found
Expected behavior
nixf-tidy
should run.
Additional context
Workaround: nix-shell --packages nixf
Metadata
- system:
"x86_64-linux"
- host os:
Linux 6.12.5, NixOS, 25.05 (Warbler), 25.05.20241217.ee90e6b
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.24.11
- channels(root):
""
- nixpkgs:
/nix/store/l244w5dq4777ywqinrjmbi2gknd50czl-source
Notify maintainers
I'm not sure whether the error is with nix-index, nixd, or some other package.
Metadata
Metadata
Assignees
Labels
No labels