3 ms·
I love Flakes! One thing that I bugs me though is that I could not find a satisfactory solution to have non-bash shells with custom environment variables as the
by yewenjie 5y ago
I love Flakes! One thing that I bugs me though is that I could not find a satisfactory solution to have non-bash shells with custom environment variables as the default `devShell`.
- rgoulter 5y agoThe command `nix print-dev-env` prints the environment variables used, which helps. But I think a suggested DX is to make use of direnv. e.g. the nix-direnv template: https://github.com/nix-community/nix-direnv/blob/master/template/flake.nix https://github.com/nix-community/nix-direnv/blob/master/temp... I think this still leaves a gap from what `nix-shell --pure` had.