2008-08-05 10:16:35 -07:00
|
|
|
let
|
2016-03-13 11:24:55 -07:00
|
|
|
pkgs = import ../../.. {};
|
2008-08-05 10:16:35 -07:00
|
|
|
config = import ./declare.nix;
|
|
|
|
|
|
|
|
# Define the handler of unbound options.
|
|
|
|
noOption = name: values:
|
|
|
|
builtins.trace "Attribute named '${name}' does not match any option declaration." values;
|
|
|
|
in
|
|
|
|
with (pkgs.lib);
|
|
|
|
|
|
|
|
finalReferenceOptionSets
|
|
|
|
(mergeOptionSets noOption)
|
|
|
|
pkgs
|
|
|
|
# List of main configurations.
|
|
|
|
[ config.configB config.configC ]
|