3
0
Fork 0
forked from mirrors/nixpkgs

lib/modules: Fix missing prefix in extendModules when unset in both eval- and extend-

This commit is contained in:
Robert Hensing 2022-06-09 19:06:48 +02:00
parent d9b980c98e
commit d9e71531a0

View file

@ -350,7 +350,7 @@ rec {
evalModules (evalModulesArgs // {
modules = regularModules ++ modules;
specialArgs = evalModulesArgs.specialArgs or {} // specialArgs;
prefix = extendArgs.prefix or evalModulesArgs.prefix;
prefix = extendArgs.prefix or evalModulesArgs.prefix or [];
inherit extensionOffset;
});