srid/haskell-template

Switch to nix-direnv?

srid opened this issue · 2 comments

srid commented

nix-direnv with direnv-vscode to replace the Nix Env Selector extension?

Pro: obviates having to have a shell.nix, and feels faster in VSCode (esp. when using the slow haskell.nix).

Con: necessitates manual setup on user part, to have nix-direnv installed, with user's $SHELL setup up properly as well. cf. https://github.com/plutonomicon/plut#developing

srid commented

If nothing else, we should document how to use nix-direnv.

srid commented

Recommending this now: https://haskell.flake.page/direnv