Commit 89f380f
authored
Use portable shebang in .envrc template for NixOS compatibility (#2747)
## Summary
NixOS does not have /bin/bash, so generated .envrc doesn't work. This
changes /bin/bash to portable /usr/bin/env bash.
## How was it tested?
Ran `go build -o ./devbox-test ./cmd/devbox && ./devbox-test generate
direnv && direnv reload && cat .envrc`
## Community Contribution License
All community contributions in this pull request are licensed to the
project
maintainers under the terms of the
[Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0).
By creating this pull request, I represent that I have the right to
license the
contributions to the project maintainers under the Apache 2 License as
stated in
the
[Community Contribution
License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).1 parent a2b6b73 commit 89f380f
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments