You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/modules_schema.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## Available only in `Nix`
4
4
5
+
See how `commands.<name>` ([link](https://github.com/numtide/devshell/tree/main/nix/commands/examples.nix)) maps to `commands.*` ([link](https://github.com/numtide/devshell/tree/main/tests/extra/lib.flattenCommands.nix)).
6
+
5
7
### `commands.<name>.*`
6
8
7
9
A config for command(s) when the `commands` option is an attrset.
@@ -469,7 +471,7 @@ Add commands to the environment.
469
471
470
472
### `commands.*`
471
473
472
-
A config for a command when the `commands` option is a list ("flat").
474
+
A config for a command when the `commands` option is a list.
473
475
474
476
**Type**: `(package or string convertible to it) or (list with two elements of types: [ string (package or string convertible to it) ]) or (flatOptions)`
0 commit comments