NixOS / nix-mode

An Emacs major mode for editing Nix expressions.
GNU Lesser General Public License v2.1
300 stars 76 forks source link

nix-eshell doesn't play well with flake.nix #164

Open SohamG opened 2 years ago

SohamG commented 2 years ago

Title

I have a flake.nix at the root of my project that defines a devShell. From reading the source for nix-eshell, its trying to nix-instantiate the file its given, and I don't think that works well with flakes.

Am I missing an obvious solution?

natto1784 commented 2 years ago

yep it still needs devShell support, for now it just nix-shells. Something I would like to see as well.

gustavomedeiross commented 1 year ago

if someone has a problem running devShells in eshell, I highly recommend trying the eshell integration from https://codeberg.org/akib/emacs-eat, worked perfectly for me