Skip to content

Commit 1666276

Browse files
committed
lib/modules: specify modulesPath
`specialArgs.modulesPath` can be used to allow users to manually import modules relative to our `./modules` directory. It is also used by the module system to provide a base path for relative `disabledModules` paths.
1 parent b5efe91 commit 1666276

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/modules.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ in
3636
}
3737
];
3838
specialArgs = {
39+
modulesPath = ../modules;
3940
# TODO: deprecate `helpers`
4041
helpers = self;
4142
} // extraSpecialArgs;

0 commit comments

Comments
 (0)