11.stylix/stylix/hm
NAHO 8762da957b
treewide: remove unnecessary use of self (#1413)
Remove the unnecessary use of self to simplify path handling by reducing
importApply uses, and eliminating unsafeRemoveStringContext.

This is a follow-up to commit 9b61cc39b2 ("stylix: don't split
autoloaded modules into a separate derivation (#631)").

Be aware that this change emphasizes careful use of string
interpolation. Using "${./foo}" can inadvertently create store objects.
This behavior aligns with standard Nix practices, so it's a good habit
to be mindful of it. While there are valid cases for creating store
objects (for example, when a derivation needs to depend on a file), if
you're working directly with paths or files within your project, either
keep the value as a path or use toString instead of string
interpolation.

Closes: https://github.com/nix-community/stylix/issues/1393
Link: https://github.com/nix-community/stylix/pull/1413

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-31 15:58:26 +02:00
..
cursor.nix home-manager: cast cursor size to int (#1401) 2025-05-29 10:52:17 -07:00
default.nix stylix: drop unnecessary use of self in home-manager 2025-05-28 19:32:15 +01:00
fonts.nix stylix: use absolute paths for module imports 2025-02-18 14:37:50 +00:00
icon.nix stylix: use absolute paths for module imports 2025-02-18 14:37:50 +00:00
palette.nix stylix: use absolute paths for module imports 2025-02-18 14:37:50 +00:00