Closed EduardoSilvaDiniz closed 2 weeks ago
i'm having trouble using compile mode, i'm getting the error
“/nix/store/pd228xy0lni9xbghrpxig5v0cyh2bwps-emacs-git-20240915.0/bin/emacs: /bin/bash: No such file or directory”.
I tried to fix it by defining another shell but the problems persist.
(setq explicit-shell-file-name “/bin/zsh”) (setq shell-file-name “/bin/zsh”)
but compile mode still can't find the shell, even if I switch to zsh. project mode doesn't work either.
“/nix/store/pd228xy0lni9xbghrpxig5v0cyh2bwps-emacs-git-20240915.0/bin/emacs: /bin/zsh: No such file or directory”
my emacs home manager configuration
{pkgs, ...}: { programs.emacs = { enable = true; package = pkgs.emacs-git; extraPackages = epkgs: with epkgs; [ treesit-grammars.with-all-grammars vterm mu4e ]; }; home.packages = import ./lsps.nix {inherit pkgs;}; }
If you're on NixOS /bin/bash doesn't exist by design. That would be /run/current-system/sw/bin/bash.
/bin/bash
/run/current-system/sw/bin/bash
i'm having trouble using compile mode, i'm getting the error
I tried to fix it by defining another shell but the problems persist.
but compile mode still can't find the shell, even if I switch to zsh. project mode doesn't work either.
my emacs home manager configuration