Closed DamienCassou closed 1 year ago
This came up a few times now so I'll have to add some notes about it.
In general I prefer use nix
because it's more reliant - you know you have to reenter the environment on change.
lorri and nix-direnv both have their own issues with reliability (so I've been told, I never tried either) and I think that's inferior to a simple action of knowing when to reload.
PS: use_nix
vs use nix
naming is ... no comment :)
Domen Kožar notifications@github.com writes:
This came up a few times now so I'll have to add some notes about it.
Can you please explain:
Thank you
-- Damien Cassou
"Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
This template uses https://devenv.sh so .envrc integration should be improved there
I usually have
use_nix
in my.envrc
files and this works well for me. I installed nix-direnv through a dedicated option in home-manager.I see that this template has
use nix
instead ofuse_nix
and this doesn't work for me: a change to the shell.nix file is not reflected in the environment.