mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
0e25bb67cf
svn path=/nixpkgs/trunk/; revision=12505
16 lines
418 B
Nix
16 lines
418 B
Nix
let
|
|
pkgs = import ../../top-level/all-packages.nix {};
|
|
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 ]
|