Skip to content

Conversation

@abs
Copy link

@abs abs commented Nov 26, 2025

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.

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.

@abs abs force-pushed the fix/envrc-shebang branch from e7f1501 to 1c3d450 Compare November 26, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant