mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
modules/nixpkgs: warn about changing defaults
If end-users change the nixpkgs revision to something other than our default, they can run into issues not picked up by our test suite.
This commit is contained in:
parent
3a22953bea
commit
82415eaa5d
2 changed files with 8 additions and 3 deletions
|
@ -50,9 +50,8 @@ in
|
|||
so user-provided configuration can override it without using `lib`.
|
||||
E.g. Nixvim's home-manager module can re-use the `pkgs` instance from the "host" modules.
|
||||
|
||||
> [!NOTE]
|
||||
> Using a distinct version of Nixpkgs with Nixvim may be an unexpected source of problems.
|
||||
> Use this option with care.
|
||||
> [!CAUTION]
|
||||
> Changing this option can lead to issues that may be difficult to debug.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -198,6 +197,9 @@ in
|
|||
The path to import Nixpkgs from.
|
||||
|
||||
Ignored when `nixpkgs.pkgs` is set.
|
||||
|
||||
> [!CAUTION]
|
||||
> Changing this option can lead to issues that may be difficult to debug.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -40,6 +40,9 @@ in
|
|||
description = ''
|
||||
Whether Nixvim should use the ${config.meta.wrapper.name} configuration's `pkgs`,
|
||||
instead of constructing its own instance.
|
||||
|
||||
> [!CAUTION]
|
||||
> Changing this option can lead to issues that may be difficult to debug.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue