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:
Matt Sturgeon 2024-09-25 16:22:25 +01:00
parent b3a90d737d
commit a8f678da24
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
4 changed files with 8 additions and 0 deletions

View file

@ -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