docs(nix-style): allow general basename use
This commit is contained in:
1 parent
43b3ff4b09
commit
8eabdee2a0
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user