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
wrappers] ensure bin-wrappers invoke other binaries and not bin-wrappers (#1160)
## Summary
This is an alternate to #1151 (see explanation in #1159)
In this approach, the wrapped-binary always calls:
`eval $(devbox shellenv only-path-without-wrappers)`
to ensure that the PATH is set without the `wrappers/bin` directory.
In contrast to #1151, we do not always set any other environment
variables
Fixes#1142
## How was it tested?
issue from #1142 is fixed:
```
> devbox run -- iex -S mix
* creating .nix-mix/archives/hex-2.0.6
* creating .nix-mix/elixir/1-14/rebar3
Resolving Hex dependencies...
Resolution completed in 0.016s
Unchanged:
cowboy 2.9.0
cowlib 2.11.0
ranch 1.8.0
All dependencies are up to date
Erlang/OTP 25 [erts-13.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
Hello World!
Interactive Elixir (1.14.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Goodbye World
17:18:09.349 [notice] Application elixir_hello exited: shutdown
BREAK: (a)bort (A)bort with dump (c)ontinue (p)roc info (i)nfo
(l)oaded (v)ersion (k)ill (D)b-tables (d)istribution
```
- [ ] testscripts should pass
0 commit comments