mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
16 lines
394 B
Nix
16 lines
394 B
Nix
let
|
|
pkgs = import ../../.. {};
|
|
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 ]
|