-
I'm new to nix, and I'm struggling to set up my nvf. {
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nvf.url = "github:notashelf/nvf";
};
outputs = {nixpkgs, ...} @ inputs: {
packages.x86_64-linux = {
default =
(inputs.nvf.lib.neovimConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [
{
config.vim = {
treesitter.enable = true;
telescope.enable = true;
theme = {
enable = true;
name = "rose-pine";
style = "main";
};
languages = {
enableTreesitter = true;
bash.enable = true;
nix.enable = true;
};
};
}
];
})
.neovim;
};
};
} Here is my error log when I try to run my flake.
The error will not appear if I remove languages = {
enableTreesitter = true;
#bash.enable = true;
#nix.enable = true;
}; I've seen that recursion can happen if some dependencies call themselves, but I can't figure it out. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry for the delay. I meant to respond to this when I was on my system, but it slipped my mind thanks to the nature of discussions. The issue has been fixed in the main branch. It was a silly error on my part, and has been resolved promptly once I looked into it. Updating your nvf should make the errors go away. |
Beta Was this translation helpful? Give feedback.
Sorry for the delay. I meant to respond to this when I was on my system, but it slipped my mind thanks to the nature of discussions.
The issue has been fixed in the main branch. It was a silly error on my part, and has been resolved promptly once I looked into it. Updating your nvf should make the errors go away.