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`.
|
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.
|
E.g. Nixvim's home-manager module can re-use the `pkgs` instance from the "host" modules.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!CAUTION]
|
||||||
> Using a distinct version of Nixpkgs with Nixvim may be an unexpected source of problems.
|
> Changing this option can lead to issues that may be difficult to debug.
|
||||||
> Use this option with care.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -198,6 +197,9 @@ in
|
||||||
The path to import Nixpkgs from.
|
The path to import Nixpkgs from.
|
||||||
|
|
||||||
Ignored when `nixpkgs.pkgs` is set.
|
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 = ''
|
description = ''
|
||||||
Whether Nixvim should use the ${config.meta.wrapper.name} configuration's `pkgs`,
|
Whether Nixvim should use the ${config.meta.wrapper.name} configuration's `pkgs`,
|
||||||
instead of constructing its own instance.
|
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