fix: export modules as functions instead of paths
This commit is contained in:
parent
23c08d04f9
commit
b723802808
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ in
|
|||
modules-metadata = builtins.map create-module-metadata user-modules;
|
||||
merge-modules = modules: metadata:
|
||||
modules // {
|
||||
${metadata.name} = metadata.path;
|
||||
${metadata.name} = import metadata.path;
|
||||
};
|
||||
modules-without-default = foldl merge-modules { } modules-metadata;
|
||||
default-module =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue