diff --git a/pkgs/lib/options.nix b/pkgs/lib/options.nix index ca6173ef0864..ca0f3dbe9faf 100644 --- a/pkgs/lib/options.nix +++ b/pkgs/lib/options.nix @@ -296,7 +296,7 @@ rec { inlineImportedSets = list: lib.concatMap (m:[m] ++ map moduleImport (getImportedSets m)) list; in - inlineImportedSets (removeKeys (lazyGenericClosure { + removeKeys (inlineImportedSets (lazyGenericClosure { startSet = map moduleImport initModules; operator = m: map moduleImport (getImportedPaths m); }));