Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command_not_found_handle nixf-tidy suggests wrong package #263

Open
l0b0 opened this issue Jan 2, 2025 · 0 comments
Open

command_not_found_handle nixf-tidy suggests wrong package #263

l0b0 opened this issue Jan 2, 2025 · 0 comments

Comments

@l0b0
Copy link

l0b0 commented Jan 2, 2025

(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:

  1. Enable command-not-found and nix-index
  2. Run command_not_found_handle nixf-tidy
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant