I’m curious how nix flakes work together with people’s editors.
I would like people to be able to use their favorite editing tools (neovim, vscode etc.) while still being able to levarage nix flakes for building and running the software. For example, am I able to still have LSP features and my neovim config running on the nix instance as other people? Can other developers make use of their vscode setup? Can they do this without touching the flake.nix?
For the specific example of vscod{e,ium}, the Nix VSCode Extensions project allows exactly this: a vscode instance, with declared extensions and config, as part of your project devshell. There’s a flake template provided for this.
Personally, with emacs, nix-direnv works well, butnix build completely breaks all the compilation-mode regexes by prepending ${derivation-name}> so jumping to compilation errors is borked.
Still haven’t found a fix all these years later, no way to prepend something to the regexes in bulk afaict and no good way to change the output either.