Update option-usages.nix expression to work with newer version of the module system.

This commit is contained in:
Nicolas B. Pierron
2015-08-09 14:40:01 +02:00
parent 2c9c135ee2
commit c47e89623b
3 changed files with 138 additions and 42 deletions

View File

@@ -55,7 +55,7 @@ rec {
};
};
closed = closeModules (modules ++ [ internalModule ]) (specialArgs // { inherit config options; lib = import ./.; });
closed = closeModules (modules ++ [ internalModule ]) ({ inherit config options; lib = import ./.; } // specialArgs);
# Note: the list of modules is reversed to maintain backward
# compatibility with the old module system. Not sure if this is