stylix: use lib.warn instead of builtins.warn (#1676)
Link: https://github.com/nix-community/stylix/pull/1676 Closes: https://github.com/nix-community/stylix/issues/1669 Co-authored-by: awwpotato <awwpotato@voidq.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Daniel Thwaites <danth@danth.me>
This commit is contained in:
parent
218d4424b0
commit
d683e35fa5
3 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
# Drop this alias after 26.05
|
||||
flake = lib.mkIf (!lib.oldestSupportedReleaseIsAtLeast 2605) {
|
||||
homeManagerModules = builtins.warn "stylix: flake output `homeManagerModules` has been renamed to `homeModules` and will be removed after 26.05." self.homeModules;
|
||||
homeManagerModules = lib.warn "stylix: flake output `homeManagerModules` has been renamed to `homeModules` and will be removed after 26.05." self.homeModules;
|
||||
};
|
||||
|
||||
perSystem.stylix.aliases = [
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ in
|
|||
})
|
||||
|
||||
{
|
||||
lib.stylix.i3.bar = builtins.warn "stylix: `config.lib.stylix.i3.bar` has been renamed to `config.stylix.targets.i3.exportedBarConfig` and will be removed after 26.11." config.stylix.targets.i3.exportedBarConfig;
|
||||
lib.stylix.i3.bar = lib.warn "stylix: `config.lib.stylix.i3.bar` has been renamed to `config.stylix.targets.i3.exportedBarConfig` and will be removed after 26.11." config.stylix.targets.i3.exportedBarConfig;
|
||||
|
||||
stylix.targets.i3.exportedBarConfig = {
|
||||
inherit fonts;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ in
|
|||
})
|
||||
|
||||
{
|
||||
lib.stylix.sway.bar = builtins.warn "stylix: `config.lib.stylix.sway.bar` has been renamed to `config.stylix.targets.sway.exportedBarConfig` and will be removed after 26.11." config.stylix.targets.sway.exportedBarConfig;
|
||||
lib.stylix.sway.bar = lib.warn "stylix: `config.lib.stylix.sway.bar` has been renamed to `config.stylix.targets.sway.exportedBarConfig` and will be removed after 26.11." config.stylix.targets.sway.exportedBarConfig;
|
||||
|
||||
stylix.targets.sway.exportedBarConfig = {
|
||||
inherit fonts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue