I installed nix-mode with
(use-package nix-mode
:mode "\\.nix\\'"
)
I'm writing nix with org-babel. Whenever I call (org-babel-tangle-file (buffer-file-name)), it errors
error in process sentinel: Symbol’s function definition is void: nix-mode
and the tangle process failed.
However, M-x org-babel-tangle do not have this issue. I use (org-babel-tangle-file (buffer-file-name)) because it's part of org-auto-tangle.
What is probably causing this problem?
I installed nix-mode with
I'm writing nix with org-babel. Whenever I call
(org-babel-tangle-file (buffer-file-name)), it errorsand the tangle process failed.
However,
M-x org-babel-tangledo not have this issue. I use(org-babel-tangle-file (buffer-file-name))because it's part of org-auto-tangle.What is probably causing this problem?