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/basics.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,22 +36,16 @@ jq-1.6
36
36
hello
37
37
```
38
38
39
-
40
-
41
-
42
-
See [Nix language tutorial](https://nix.dev/tutorials/first-steps/nix-language) for a 1-2 hour deep dive
39
+
See [Nix language tutorial](https://nix.dev/tutorials/first-steps/nix-language) for a 1-2 hour deep dive
43
40
that will allow you to read any Nix file.
44
41
45
-
!!! note
46
-
47
-
We're running [a fundraiser to improve the developer experience around error messages](https://opencollective.com/nix-errors-enhancement), with the goal of lowering the barrier to learning Nix.
48
42
49
43
## Environment Summary
50
44
51
45
If you'd like to print the summary of the current environment:
52
46
53
47
```shell-session
54
-
$ devenv info
48
+
$ devenv info
55
49
...
56
50
57
51
# env
@@ -68,3 +62,23 @@ $ devenv info
68
62
# processes
69
63
70
64
```
65
+
66
+
## CLI Options Overrides
67
+
68
+
!!! info "New in 1.6"
69
+
70
+
You can override configuration options temporarily using the `--option` flag:
The option requires you to specify the inferred Nix type:
77
+
78
+
-`:string` for string values
79
+
-`:int` for integer values
80
+
-`:float` for floating-point values
81
+
-`:bool` for boolean values (true/false)
82
+
-`:path` for file paths (interpreted as relative paths)
83
+
84
+
This is useful for temporarily changing the configuration without modifying your `devenv.nix` file, such as when testing different configurations or creating option matrices.
0 commit comments