cinnamon: Document scope deprecation

This commit is contained in:
Bobby Rong 2024-07-23 00:25:58 +08:00
parent ede20d78de
commit be722f046d
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -107,6 +107,8 @@
moved into the top level scope (i.e., `budgie.budgie-desktop` is now
`budgie-desktop`)
- All Cinnamon and XApp packages have been moved to top-level (i.e., `cinnamon.nemo` is now `nemo`).
- `services.cgit` now runs as the cgit user by default instead of root.
This change requires granting access to the repositories to this user or
setting the appropriate one through `services.cgit.some-instance.user`.

View File

@ -1,5 +1,10 @@
{ config, pkgs, lib }:
# The cinnamon scope is deprecated and no package additions should be done here.
#
# TODO (after 24.11 branch-off): Remove this scope entirely.
# TODO (after 25.05 branch-off): Rename pkgs.cinnamon-common to pkgs.cinnamon.
lib.makeScope pkgs.newScope (self: { }) // lib.optionalAttrs config.allowAliases {
# Aliases need to be outside the scope or they will shadow the attributes from parent scope.
bulky = lib.warn "cinnamon.bulky was moved to top-level. Please use pkgs.bulky directly." pkgs.bulky; # Added on 2024-07-14