From 8eabdee2a02d62068c2235d6e4552734bac5d930 Mon Sep 17 00:00:00 2001 From: alexion Date: Sun, 27 Sep 2026 09:42:50 -0400 Subject: [PATCH] docs(nix-style): allow general basename use --- src/skills/style/nix/rules/general.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/skills/style/nix/rules/general.md b/src/skills/style/nix/rules/general.md index 98d33a6..e0d0a58 100644 --- a/src/skills/style/nix/rules/general.md +++ b/src/skills/style/nix/rules/general.md @@ -15,8 +15,8 @@ Repository Nix code uses one implementation. ### Rule -Use `util.removeNixSuffix` to remove a `.nix` suffix from a path. -Do not call `builtins.baseNameOf` or `lib.removeSuffix ".nix"` outside the utility definition. +Use `util.removeNixSuffix` to derive a Nix name from a path. +Do not call `lib.removeSuffix ".nix"` outside the utility definition. ### Rationale