-
-
Notifications
You must be signed in to change notification settings - Fork 183
feat(autocompletion): allow blink-cmp package override #1249
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
base: main
Are you sure you want to change the base?
Conversation
|
Okay, I'm ammendable to such a change but there are two crucial points to consider.
An option that addresses both of those points might be to allow overriding built packages instead of just npins sources. This way you could change what the package corresponds to and thus use any packaged plugin. |
|
Good points all-round, I just need a way to override if there's such a broken state I cannot rebuild until this project gets updated (the missing Rust flags being one example), and also blink-cmp has been on 1.6.0 for a while so it was Nix that broke it. |
|
|
|
I was able to override blink-cmp package without using package from nixpkgs using approach like this One have to pass nvf input and copy-paste RUSTFLAGS from nixpkgs PR. Guess a proper way to fix it would be update package definition for blink-cmp https://github.com/NotAShelf/nvf/blob/v0.8/flake/pkgs/by-name/blink-cmp/package.nix and add missing RUSTFLAGS. |
I'll try that in a bit, thanks! Aren't you resetting RUSTFLAGS on non-darwin though? Should probably move up the chain with |
|
The breakage should've been fixed on latest v0.8 commit. |
blink-cmp is broken because of some rust flags that need to be passed in (See NixOS/nixpkgs#464350). Had to fork so it would be nice if you could override the package as in this PR.