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:
sntx 2025-07-14 01:25:17 +02:00 committed by GitHub
parent 218d4424b0
commit d683e35fa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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 = [