xfce: add missing throw

Forgotten in 45d79792a2.
This commit is contained in:
Bobby Rong 2025-12-28 20:03:26 +08:00
parent 99b584d4e5
commit 2e00ca2e1d
No known key found for this signature in database

View file

@ -7,6 +7,8 @@
makeScopeWithSplicing',
}:
# New packages should go to top-level instead of here!
# TODO: Remove this scope entirely in NixOS 26.11.
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope "xfce";
f = (
@ -19,7 +21,9 @@ makeScopeWithSplicing' {
}
// lib.optionalAttrs config.allowAliases {
#### ALIASES
genericUpdater = throw "xfce.genericUpdater has been removed: use pkgs.genericUpdater directly"; # added 2025-12-22
genericUpdater = throw "xfce.genericUpdater has been removed: use pkgs.genericUpdater directly"; # added 2025-12-22
xinitrc = throw "xfce.xinitrc has been removed: use pkgs.xfce4-session.xinitrc directly"; # added 2025-12-28
thunar-bare = throw "xfce.thunar-bare has been removed: use pkgs.thunar-unwrapped directly"; # added 2025-12-28
mkXfceDerivation = lib.warnOnInstantiate ''
xfce.mkXfceDerivation has been deprecated, please use stdenv.mkDerivation