modules/plugin: fix extraImports
This commit is contained in:
parent
0bb649270c
commit
8628fb2ed8
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ let
|
|||
|
||||
genConfig = with lib.nix2lua; lib.mkIf (!config.isDependency) (lib.flatten [
|
||||
(local (set config.varName (require config.name)))
|
||||
(lib.mapAttrsToList (k: v: local (set k) (require v)) config.extraImports)
|
||||
(lib.mapAttrsToList (k: v: local (set k (require v))) config.extraImports)
|
||||
config.beforeSetup
|
||||
(lib.optional (config.setupSettings != null)
|
||||
(pipe1 (var config.varName) (call config.setupFnName config.setupSettings))
|
||||
|
|
Loading…
Reference in a new issue