-
Notifications
You must be signed in to change notification settings - Fork 358
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 is extremely verbose #79
Comments
I started development on this branch: |
That's really cool @thenonameguy, will you make a PR so we can do some testing? |
That's the plan, will hopefully get to it in the evening. 🙏 |
@domenkozar please reopen until the revert PR with a solution is found to the issue. |
Disclaimer: this boils down to a direnv and
print-dev-env
issue, but it still relevant to the UX of devenv.Running
direnv allow
after runningdevenv init
, on top of the normal output of devenv, we get something like:This is very noisy, not very useful, and gives a bad impression.
In the end, this is because
nix-shell
(andnix develop
andnix print-dev-env
) is designed to "provide the build environment of a derivation", not making shell environments that don't build a derivation.devshell
fixes that by reimplementingmkShell
in a way that removes everything that we don't want (doesn't usemkDerivation
, and does additional cleanup): https://github.com/numtide/devshell/blob/master/nix/mkNakedShell.nix.The text was updated successfully, but these errors were encountered: