···159 xfce4-pulseaudio-plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin { };
160161} // lib.optionalAttrs config.allowAliases {
162+ #### ALIASES
00000000000000000163164+ terminal = throw "xfce.terminal has been removed, use xfce.xfce4-terminal instead"; # added 2022-05-24
165+ thunar-build = throw "xfce.thunar-build has been removed, use xfce.thunar-bare instead"; # added 2022-05-24
166+ thunarx-2-dev = throw "xfce.thunarx-2-dev has been removed, use xfce.thunar-bare instead"; # added 2022-05-24
167+ thunar_volman = throw "xfce.thunar_volman has been removed, use xfce.thunar-volman instead"; # added 2022-05-24
168+ xfce4panel = throw "xfce.xfce4panel has been removed, use xfce.xfce4-panel instead"; # added 2022-05-24
169+ xfce4session = throw "xfce.xfce4session has been removed, use xfce.xfce4-session instead"; # added 2022-05-24
170+ xfce4settings = throw "xfce.xfce4settings has been removed, use xfce.xfce4-settings instead"; # added 2022-05-24
171+ xfce4_power_manager = throw "xfce.xfce4_power_manager has been removed, use xfce.xfce4-power-manager instead"; # added 2022-05-24
172+ xfce4_appfinder = throw "xfce.xfce4_appfinder has been removed, use xfce.xfce4-appfinder instead"; # added 2022-05-24
173+ xfce4_dev_tools = throw "xfce.xfce4_dev_tools has been removed, use xfce.xfce4-dev-tools instead"; # added 2022-05-24
174+ xfce4notifyd = throw "xfce.xfce4notifyd has been removed, use xfce.xfce4-notifyd instead"; # added 2022-05-24
175+ xfce4taskmanager = throw "xfce.xfce4taskmanager has been removed, use xfce.xfce4-taskmanager instead"; # added 2022-05-24
176+ xfce4terminal = throw "xfce.xfce4terminal has been removed, use xfce.xfce4-terminal instead"; # added 2022-05-24
177+ xfce4volumed_pulse = throw "xfce.xfce4volumed_pulse has been removed, use xfce.xfce4-volumed-pulse instead"; # added 2022-05-24
178+ xfce4icontheme = throw "xfce.xfce4icontheme has been removed, use xfce.xfce4-icon-theme instead"; # added 2022-05-24
179+ xfwm4themes = throw "xfce.xfwm4themes has been removed, use xfce.xfwm4-themes instead"; # added 2022-05-24
180+ xfce4_battery_plugin = throw "xfce.xfce4_battery_plugin has been removed, use xfce.xfce4-battery-plugin instead"; # added 2022-05-24
181+ xfce4_clipman_plugin = throw "xfce.xfce4_clipman_plugin has been removed, use xfce.xfce4-clipman-plugin instead"; # added 2022-05-24
182+ xfce4_cpufreq_plugin = throw "xfce.xfce4_cpufreq_plugin has been removed, use xfce.xfce4-cpufreq-plugin instead"; # added 2022-05-24
183+ xfce4_cpugraph_plugin = throw "xfce.xfce4_cpugraph_plugin has been removed, use xfce.xfce4-cpugraph-plugin instead"; # added 2022-05-24
184+ xfce4_datetime_plugin = throw "xfce.xfce4_datetime_plugin has been removed, use xfce.xfce4-datetime-plugin instead"; # added 2022-05-24
185+ xfce4_dockbarx_plugin = throw "xfce.xfce4_dockbarx_plugin has been removed, use xfce.xfce4-dockbarx-plugin instead"; # added 2022-05-24
186+ xfce4_embed_plugin = throw "xfce.xfce4_embed_plugin has been removed, use xfce.xfce4-embed-plugin instead"; # added 2022-05-24
187+ xfce4_eyes_plugin = throw "xfce.xfce4_eyes_plugin has been removed, use xfce.xfce4-eyes-plugin instead"; # added 2022-05-24
188+ xfce4_fsguard_plugin = throw "xfce.xfce4_fsguard_plugin has been removed, use xfce.xfce4-fsguard-plugin instead"; # added 2022-05-24
189+ xfce4_genmon_plugin = throw "xfce.xfce4_genmon_plugin has been removed, use xfce.xfce4-genmon-plugin instead"; # added 2022-05-24
190+ xfce4_hardware_monitor_plugin = throw "xfce.xfce4_hardware_monitor_plugin has been removed, use xfce.xfce4-hardware-monitor-plugin instead"; # added 2022-05-24
191+ xfce4_namebar_plugin = throw "xfce.xfce4_namebar_plugin has been removed, use xfce.xfce4-namebar-plugin instead"; # added 2022-05-24
192+ xfce4_netload_plugin = throw "xfce.xfce4_netload_plugin has been removed, use xfce.xfce4-netload-plugin instead"; # added 2022-05-24
193+ xfce4_notes_plugin = throw "xfce.xfce4_notes_plugin has been removed, use xfce.xfce4-notes-plugin instead"; # added 2022-05-24
194+ xfce4_mailwatch_plugin = throw "xfce.xfce4_mailwatch_plugin has been removed, use xfce.xfce4-mailwatch-plugin instead"; # added 2022-05-24
195+ xfce4_mpc_plugin = throw "xfce.xfce4_mpc_plugin has been removed, use xfce.xfce4-mpc-plugin instead"; # added 2022-05-24
196+ xfce4_sensors_plugin = throw "xfce.xfce4_sensors_plugin has been removed, use xfce.xfce4-sensors-plugin instead"; # added 2022-05-24
197+ xfce4_systemload_plugin = throw "xfce.xfce4_systemload_plugin has been removed, use xfce.xfce4-systemload-plugin instead"; # added 2022-05-24
198+ xfce4_timer_plugin = throw "xfce.xfce4_timer_plugin has been removed, use xfce.xfce4-timer-plugin instead"; # added 2022-05-24
199+ xfce4_verve_plugin = throw "xfce.xfce4_verve_plugin has been removed, use xfce.xfce4-verve-plugin instead"; # added 2022-05-24
200+ xfce4_xkb_plugin = throw "xfce.xfce4_xkb_plugin has been removed, use xfce.xfce4-xkb-plugin instead"; # added 2022-05-24
201+ xfce4_weather_plugin = throw "xfce.xfce4_weather_plugin has been removed, use xfce.xfce4-weather-plugin instead"; # added 2022-05-24
202+ xfce4_whiskermenu_plugin = throw "xfce.xfce4_whiskermenu_plugin has been removed, use xfce.xfce4-whiskermenu-plugin instead"; # added 2022-05-24
203+ xfce4_windowck_plugin = throw "xfce.xfce4_windowck_plugin has been removed, use xfce.xfce4-windowck-plugin instead"; # added 2022-05-24
204+ xfce4_pulseaudio_plugin = throw "xfce.xfce4_pulseaudio_plugin has been removed, use xfce.xfce4-pulseaudio-plugin instead"; # added 2022-05-24
205+ libxfce4ui_gtk3 = throw "xfce.libxfce4ui_gtk3 has been removed, use xfce.libxfce4ui instead"; # added 2022-05-24
206+ xfce4panel_gtk3 = throw "xfce.xfce4panel_gtk3 has been removed, use xfce.xfce4-panel instead"; # added 2022-05-24
207+ xfce4_power_manager_gtk3 = throw "xfce.xfce4_power_manager_gtk3 has been removed, use xfce.xfce4-power-manager instead"; # added 2022-05-24
208+ gtk = throw "xfce.gtk has been removed, use gtk2 instead"; # added 2022-05-24
209+ gtksourceview = throw "xfce.gtksourceview has been removed, use gtksourceview instead"; # added 2022-05-24
210+ dconf = throw "xfce.dconf has been removed, use dconf instead"; # added 2022-05-24
211+ vte = throw "xfce.vte has been removed, use vte instead"; # added 2022-05-24
212213+ xinitrc = xfce4-session.xinitrc; # added 2019-11-04
00000000000214215+ thunar-bare = thunar.override { thunarPlugins = []; }; # added 2019-11-04
0216})
···1# This file defines the structure of the `config` nixpkgs option.
23-{ lib, ... }:
45with lib;
6···32 };
3334 /* Config options */
000003536 doCheckByDefault = mkMassRebuild {
37 feature = "run <literal>checkPhase</literal> by default";
···122123in {
12400000000125 inherit options;
000000126127}
···1# This file defines the structure of the `config` nixpkgs option.
23+{ config, lib, ... }:
45with lib;
6···32 };
3334 /* Config options */
35+36+ warnUndeclaredOptions = mkOption {
37+ description = "Whether to warn when <literal>config</literal> contains an unrecognized attribute.";
38+ default = false;
39+ };
4041 doCheckByDefault = mkMassRebuild {
42 feature = "run <literal>checkPhase</literal> by default";
···127128in {
129130+ freeformType =
131+ let t = lib.types.attrsOf lib.types.raw;
132+ in t // {
133+ merge = loc: defs:
134+ let r = t.merge loc defs;
135+ in r // { _undeclared = r; };
136+ };
137+138 inherit options;
139+140+ config = {
141+ warnings = lib.optionals config.warnUndeclaredOptions (
142+ lib.mapAttrsToList (k: v: "undeclared Nixpkgs option set: config.${k}") config._undeclared
143+ );
144+ };
145146}
+2-4
pkgs/top-level/default.nix
···79 ./config.nix
80 ({ options, ... }: {
81 _file = "nixpkgs.config";
82- # filter-out known options, FIXME: remove this eventually
83- config = builtins.intersectAttrs options config1;
84 })
85 ];
86 };
8788 # take all the rest as-is
89- config = lib.showWarnings configEval.config.warnings
90- (config1 // builtins.removeAttrs configEval.config [ "_module" ]);
9192 # A few packages make a new package set to draw their dependencies from.
93 # (Currently to get a cross tool chain, or forced-i686 package.) Rather than
···79 ./config.nix
80 ({ options, ... }: {
81 _file = "nixpkgs.config";
82+ config = config1;
083 })
84 ];
85 };
8687 # take all the rest as-is
88+ config = lib.showWarnings configEval.config.warnings configEval.config;
08990 # A few packages make a new package set to draw their dependencies from.
91 # (Currently to get a cross tool chain, or forced-i686 package.) Rather than