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-zsh-completions: 0.3.6 -> 0.3.7, nix-bash-completions: 0.6.1 -> 0.6.2 #33595
Conversation
LGTM. |
Commit f79d691 ("nix-bash-completions: lazy load aware install") hasn't yet been backported, but is a dependency of this PR. Is it correct to backport it? |
@bjornfor it should work, but will source the script many times on startup. So might be bad for performance, might be better to wait. |
Ah, misread it a bit. I'm guessing we can't backport this when f79d691 isn't packported too (which is the one that would cause bash startup time to increase). I'm guessing the best thing is to wait? |
Wait for what? (I won't backport anything unless someone says it's OK.) |
There's #33704 where the completion script have a name which isn't picked up by the lazy loading (relevant PR: #33717). Doing a quick search of of nixpkgs the package
Yeah.
Apart from the issue with |
Also the above stuff only applies to bash of course, so there shouldn't be any problems backporting the zsh completions. |
Motivation for this change
Fixes a regression where .nix files containing a set, not a function, failed to produce completions. ref: nix-community/nix-zsh-completions#8
Things done
Tested installation and basic functionality via
nix-env
.build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)