Flake - unstable for nixvim and release for the rest #1957
-
Hi Nixvim community, I'm new to NixOS and its ecosystem and found myself in trouble setting up Nixvim using the unstable branch of nixpkgs while keeping the release branch for the system and Home Manager. When building the system I get the error I'm certain I'm doing something wrong in my flake. May I ask for your help?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Funny enough, I was thinking about this exact issue recently and was about to post the same question! |
Beta Was this translation helpful? Give feedback.
-
Your system is being build using There's currently no way to configure nixvim's modules to use a different |
Beta Was this translation helpful? Give feedback.
inputs.nixpkgs.follows
only has a meaningful effect when using nixvim's standalone build.Your system is being build using
nixpkgs.lib.nixosSystem
, so thepkgs
passed to modules will be derived fromnixpkgs
notnixpkgs-unstable
.There's currently no way to configure nixvim's modules to use a different
pkgs
to the host module's (see #1784), so the only way to achieve a nixvim built usingnixos-unstable
on a host system usingnixos-24.05
is to use a standalone build of nixvim (see also).