mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
wrappers: explicitly set _file
for wrapper modules
This won't be detected automatically, since the modules are all returned from function calls instead of being path references.
This commit is contained in:
parent
b3a90d737d
commit
a8f678da24
4 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,8 @@ let
|
|||
extraFiles = lib.filter (file: file.enable) (lib.attrValues cfg.extraFiles);
|
||||
in
|
||||
{
|
||||
_file = ./_shared.nix;
|
||||
|
||||
# TODO: Added 2024-07-24; remove after 24.11
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule
|
||||
|
|
|
@ -28,6 +28,8 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
_file = ./darwin.nix;
|
||||
|
||||
options = {
|
||||
programs.nixvim = mkOption {
|
||||
inherit (nixvimConfig) type;
|
||||
|
|
|
@ -27,6 +27,8 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
_file = ./hm.nix;
|
||||
|
||||
options = {
|
||||
programs.nixvim = mkOption {
|
||||
inherit (nixvimConfig) type;
|
||||
|
|
|
@ -28,6 +28,8 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
_file = ./nixos.nix;
|
||||
|
||||
options = {
|
||||
programs.nixvim = mkOption {
|
||||
inherit (nixvimConfig) type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue