Commit c4de4dc
authored
devbox: unset TMPDIR in shell/run environment (#691)
Nix sets TMPDIR to its own path when building an environment and then
prints it with `print-dev-env`. Devbox "leaks" TMPDIR, meaning it takes
the TMPDIR from the parent shell and overwrites the Nix TMPDIR. However,
this doesn't work when TMPDIR isn't set in the parent shell, which is
the case in WSL and Docker.
This is a quick fix for just TMPDIR. We should double check the other
variables that `nix develop` unsets when there's more time to test.1 parent e5b0710 commit c4de4dc
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
783 | 792 | | |
784 | 793 | | |
785 | 794 | | |
| |||
0 commit comments