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

Nix flake autocomplete is broken #4185

Closed
arianvp opened this issue Oct 25, 2020 · 4 comments
Closed

Nix flake autocomplete is broken #4185

arianvp opened this issue Oct 25, 2020 · 4 comments
Labels

Comments

@arianvp
Copy link
Member

arianvp commented Oct 25, 2020

Describe the bug

Autocomplete just hangs forever

Steps To Reproduce
nix build .#<TAB>

Expected behavior

List of packages; but instead the terminal hangs forever

nix (Nix) 3.0pre20201020_e0ca98

Additional context

Add any other context about the problem here.

@arianvp arianvp added the bug label Oct 25, 2020
@edolstra
Copy link
Member

Can't reproduce, this works for me.

@thufschmitt
Copy link
Member

If your client and the globally installed Nix are out-of-sync, it might be linked to

This is a breaking change for the existing bash completion script (which can cause some minor issues if one updates the Nix client but not the script), but afaik it hasn't made it to any release yet, so it shouldn't be a major issue.

(from #4128).

It'll be a bit surprising because I'd expect bash to output some garbage completion in that case rather than nothing, but bash being bash, maybe it just goes crazy

@arianvp
Copy link
Member Author

arianvp commented Oct 26, 2020

This could very well be my global bash completion conflicting. Let me check to be sure; but otherwise we can close this

@arianvp
Copy link
Member Author

arianvp commented Nov 3, 2020

Can't reproduce anymore either.

@arianvp arianvp closed this as completed Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants