How to specify an overlay for pkgs ? #529
-
Hi! I am using multiple overlays over the standard pkgs attribute to access unstable & master channels: nixpkgs.overlays = [
(final: prev: {
unstable = builtins.import inputs.unstable {
inherit (final) config;
inherit system;
};
})
(final: prev: {
master = builtins.import inputs.master {
inherit (final) config;
inherit system;
};
})
] As I am using the master branch of nixvim, it expects pkgs to be the unstable channel. Mine targets nixos-23.05, I would like to know if there was a way to pass to nixvim.nixosModules.nixvim a specific pkgs attribute. For example: modules = [
nixvim.nixosModules.nixvim
{
nixvim.pkgs = pkgs.unstable;
}
]; Thanks for your time! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello ! In the end, if your system |
Beta Was this translation helpful? Give feedback.
-
We currently don't backport anything but bugfixes to the stable branch. Hence, the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answers, I managed to use the standalone method instead of the module to provide my own channel ! |
Beta Was this translation helpful? Give feedback.
We currently don't backport anything but bugfixes to the stable branch. Hence, the
nixos-23.05
branch of nixvim is more or less untouched since when it has been created (in may).If you really need newer plugins and additions to nixvim, then either you switch your system
nixpkgs
to an unstable channel, or you usenixvim
as a standalone flake (see here).