Fix eval commands in nix-shell files

This commit is contained in:
Henrik Lissner 2021-02-02 18:48:04 -05:00
parent 15d85a5c74
commit a178b377a0

View file

@ -68,4 +68,8 @@
(when mode
(prog1 (set-auto-mode-0 mode)
(when (eq major-mode 'sh-mode)
(sh-set-shell interp)))))))))
(sh-set-shell interp))
;; HACK Without this, quickrun tries to evaluate code directly
;; with (cached)?nix-shell.
;; TODO Use the nix-shell/cached-nix-shell-given interpreter
(setq-local quickrun-option-shebang nil))))))))