nixvim
nixvim copied to clipboard
Can't use `main` branch on flake-based nixos-23.11 with `nixpkgs-unstable`
Hi,
I'd like to use the "unstable" variant of nixvim, but am running nixos on stateVersion 23.11 with the home-managed version of nixvim.
I tried the following, which seemed useful for me, but failed somehow.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixvim = {
url = "github:nix-community/nixvim"; # /nixos-23.11
inputs.nixpkgs.follows = "nixpkgs-unstable"; # "nixpkgs"
};
}
}
The error I encountered on rebuild:
error:
… while calling the 'head' builtin
at /nix/store/9fpv0kjq9a80isa1wkkvrdqsh9dpcn05-source/lib/attrsets.nix:922:11:
921| || pred here (elemAt values 1) (head values) then
922| head values
| ^
923| else
… while evaluating the attribute 'value'
at /nix/store/9fpv0kjq9a80isa1wkkvrdqsh9dpcn05-source/lib/modules.nix:807:9:
806| in warnDeprecation opt //
807| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
808| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'base16-nvim' missing
at /nix/store/m3mh01vll8mig8b1m69y9cxvpcybrsxf-source/plugins/colorschemes/base16/default.nix:15:22:
14| originalName = "base16.nvim";
15| defaultPackage = pkgs.vimPlugins.base16-nvim;
| ^
16|
Did you mean base16-vim?
Any ideas why this isn't working/ how to get it to work?