Originally created by @samos667 on GitHub (Jan 29, 2024).
First of all, thank you for your amazing work in creating documentation about the Nixos ecosystem. As a newbie like me, it's a gold mine!
I was very inspired by your dotfiles to build mine and rebuild my workstation with Nixos. I plan to migrate all my VMs from Debian to Nixos, so I start with my workstation and try to install Astronvim as IDE.
At first glance everything seems to work with your dotfiles, but I get a nasty error message on startup:
It seems to be related to telescope-fzf-native-nvim, but Telescope seems to be functional:
I don't really understand what this means. Can you please enlighten me ? Here is my repo with my dotfiles.
Originally created by @samos667 on GitHub (Jan 29, 2024).
First of all, thank you for your amazing work in creating [documentation](https://nixos-and-flakes.thiscute.world/) about the Nixos ecosystem. As a newbie like me, it's a gold mine!
I was very inspired by your dotfiles to build mine and rebuild my workstation with Nixos. I plan to migrate all my VMs from Debian to Nixos, so I start with my workstation and try to install Astronvim as IDE.
At first glance everything seems to work with your dotfiles, but I get a nasty error message on startup:

It seems to be related to telescope-fzf-native-nvim, but Telescope seems to be functional:

I don't really understand what this means. Can you please enlighten me ? [Here](https://github.com/samos667/nix-config) is my repo with my dotfiles.
By default, lazy tries to download and compile telescope-fzf-native-nvim itself, but because NixOS does not conform to the FHS specification, the compilation will fail, resulting in this error.
But You've actually installed this plugin declaratively via Nix, so telescope actually works.
plugins = with pkgs.vimPlugins; [
# search all the plugins using https://search.nixos.org/packages
telescope-fzf-native-nvim
];
Solution:
rm -rf ~/.local/share/nvim/lazy/telescope-fzf-native.nvim/ and then enter nvim again.
If the error still exists, try to add { 'nvim-telescope/telescope-fzf-native.nvim', build = 'echo "skip build"' } into your init.lua.
@ryan4yin commented on GitHub (Jan 29, 2024):
By default, lazy tries to download and compile telescope-fzf-native-nvim itself, but because NixOS does not conform to the FHS specification, the compilation will fail, resulting in this error.
But You've actually installed this plugin declaratively via Nix, so telescope actually works.
https://github.com/samos667/nix-config/blob/1a3127c/home/programs/editor/neovim/default.nix#L49-L52
```
plugins = with pkgs.vimPlugins; [
# search all the plugins using https://search.nixos.org/packages
telescope-fzf-native-nvim
];
```
Solution:
1. `rm -rf ~/.local/share/nvim/lazy/telescope-fzf-native.nvim/` and then enter nvim again.
2. If the error still exists, try to add `{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'echo "skip build"' }` into your init.lua.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @samos667 on GitHub (Jan 29, 2024).
First of all, thank you for your amazing work in creating documentation about the Nixos ecosystem. As a newbie like me, it's a gold mine!
I was very inspired by your dotfiles to build mine and rebuild my workstation with Nixos. I plan to migrate all my VMs from Debian to Nixos, so I start with my workstation and try to install Astronvim as IDE.
At first glance everything seems to work with your dotfiles, but I get a nasty error message on startup:

It seems to be related to telescope-fzf-native-nvim, but Telescope seems to be functional:

I don't really understand what this means. Can you please enlighten me ? Here is my repo with my dotfiles.
@ryan4yin commented on GitHub (Jan 29, 2024):
By default, lazy tries to download and compile telescope-fzf-native-nvim itself, but because NixOS does not conform to the FHS specification, the compilation will fail, resulting in this error.
But You've actually installed this plugin declaratively via Nix, so telescope actually works.
https://github.com/samos667/nix-config/blob/1a3127c/home/programs/editor/neovim/default.nix#L49-L52
Solution:
rm -rf ~/.local/share/nvim/lazy/telescope-fzf-native.nvim/and then enter nvim again.{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'echo "skip build"' }into your init.lua.@samos667 commented on GitHub (Jan 29, 2024):
I see,
rm -rf ~/.local/share/nvim/lazy/telescope-fzf-native.nvim/work perfectly. Thanks for that !