Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

direnv.nix for direct envrc specification #12

Open
shlevy opened this issue Nov 23, 2018 · 1 comment
Open

direnv.nix for direct envrc specification #12

shlevy opened this issue Nov 23, 2018 · 1 comment

Comments

@shlevy
Copy link

shlevy commented Nov 23, 2018

Might be nice to first check for direnv.nix, and if it exists just do a normal instantiate + realize (i.e. no IN_NIX_SHELL or anything) and take its $out as an envrc file directly.

@shlevy
Copy link
Author

shlevy commented Nov 23, 2018

Or may be even better to teach direnv itself to somehow invoke an arbitrary command instead of "run bash sourcing this envrc and dumping env vars afterward", so we don't need to indirect through loading vars into the subshell just to specify what to change in the parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant