1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-25 11:49:40 +01:00
nixvim/wrappers
Matt Sturgeon 947cb0aaed wrappers: use importApply to preserve module location
The `import module args` pattern is useful for applying inputs from
outside of the module system, however it discards module location
metadata that is usually associated with file-path modules.

`lib.modules.importApply` solves that problem by wrapping the applied
module using `lib.modules.setDefaultModuleLocation`.

This means documentation, warnings, and errors will show the correct
location.
2025-11-24 11:10:47 +00:00
..
modules modules/nixpkgs: warn about changing defaults 2025-01-19 13:13:15 +00:00
_shared.nix wrappers: use flake-locked lib instead of host's 2025-11-24 01:13:34 +00:00
darwin.nix wrappers: use importApply to preserve module location 2025-11-24 11:10:47 +00:00
hm.nix modules/output: move symlinkJoin to build.package 2025-01-20 14:49:59 +00:00
nixos.nix modules/output: move symlinkJoin to build.package 2025-01-20 14:49:59 +00:00
standalone.nix lib: move enableExceptInTests impl to build.test option 2025-11-20 00:22:57 +00:00