<DamienCassou>
the purpose of this project is to make tools started by Emacs aware of the nix environment
<rajivr>
DamienCassou: I don't use this. However, I use `nix-mode` and `nix-buffer` quite extensively.
<rajivr>
`nix-buffer` has been especially useful.
<DamienCassou>
I will have a look.
<DamienCassou>
Do you know envrc and direnv.el?
<rajivr>
No. I've not looked into `envrc` and `direnv.el`. Just to give you further idea of how I use `nix-buffer`, here is an example of `flake.nix` and `dir-locals.nix` for haskell development environment. https://gist.github.com/rajivr/6d89527939213d8b4c0794e49805506c
<rajivr>
Then in a `.hs` buffer, I just have do `M-x nix-buffer`, which then automatically sets up the required `exec-path`.
<rajivr>
This approach works for all other development environments. Essentially my `flake.nix` provides the development environment for the shell, using `nix develop` and `dir-locals.nix` takes care of things needed for emacs.
strikerlulu has quit [Ping timeout: 246 seconds]
codygman__ has joined #nixos-emacs
strikerlulu has joined #nixos-emacs
strikerlulu has quit [Ping timeout: 256 seconds]
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos-emacs
strikerlulu has joined #nixos-emacs
<DamienCassou>
thank you rajivr . I will have a look
<DamienCassou>
do you use lsp?
<rajivr>
I use `eglot`
<DamienCassou>
ok
cole-h has joined #nixos-emacs
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-emacs
cole-h has quit [Client Quit]
cole-h has joined #nixos-emacs
codygman` has joined #nixos-emacs
codygman__ has quit [Ping timeout: 265 seconds]
rajivr has quit [Quit: Connection closed for inactivity]