Commit c314509
authored
Aadd
## Summary
Add `--impure` to the `print-dev-env` command, allowing flakes to access
environment variables also in this step. Without this change, a flake
that needs an env var to work will correctly build but then a shell
could not be created.
This also solves #2196, signifying that other people encountered a
similar problem.
## How was it tested?
Both by
```
devbox run test
```
and manually, building the tool and locally checking that a flake would
pick up variables (with `builtins.getEnv`) when activating a shell.
---------
Signed-off-by: Federico Cergol <[email protected]>--impure flag when calling print-dev-env (#2279)1 parent dd9d373 commit c314509
File tree
2 files changed
+18
-3
lines changed- internal
- boxcli/featureflag
- nix
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
0 commit comments