!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

217 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs48 Servers

Load older messages


SenderMessageTime
2 Oct 2022
@k0kada:matrix.orgk0kada (he/him)
In reply to @hdzki:hdzki.kozow.com
Is NDE not broken now?
At least the CI is passing
18:23:57
@hdzki:hdzki.kozow.comhdzki ⚡️Just updated the flake, doesn't seem like anything changed which is good23:52:11
@hdzki:hdzki.kozow.comhdzki ⚡️bad for me as my problem still isn't fixed tho23:52:18
3 Oct 2022
@jamie-howlie:monero.social@jamie-howlie:monero.social

Hi all since my last update of nix-doom-emacs I can't open magit and get the following error:

Debugger entered--Lisp error: (void-function doom-modeline-set-vcs-modeline)
  (doom-modeline-set-vcs-modeline)
  (if (eq major-mode 'magit-status-mode) (doom-modeline-set-vcs-modeline) (hide-mode-line-mode))
  +modeline-hide-in-non-status-buffer-h()
  run-hooks(change-major-mode-after-body-hook special-mode-hook magit-section-mode-hook magit-mode-hook magit-status-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook special-mode-hook magit-section-mode-hook magit-mode-hook magit-status-mode-hook))
  run-mode-hooks(magit-status-mode-hook)
  magit-status-mode()
  magit-setup-buffer-internal(magit-status-mode nil ((magit-buffer-diff-args ("--no-ext-diff")) (magit-buffer-diff-files nil) (magit-buffer-log-args ("-n256" "--decorate")) (magit-buffer-log-files nil)))
  magit-status-setup-buffer("/home/james/nix-home/")
  magit-status("~/nix-home/" ((5 . 7) (("/home/james/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("~/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("/home/james/nix-home/" "rev-parse" "--show-toplevel") . "/home/james/nix-home") (("~/" "config" "--get-color" "" "reset") . "\33[m") (("~/" . magit-toplevel)) (("/home/james/" "rev-parse" "--git-dir")) (("/home/james/" "rev-parse" "--show-toplevel"))))
  funcall-interactively(magit-status "~/nix-home/" ((5 . 7) (("/home/james/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("~/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("/home/james/nix-home/" "rev-parse" "--show-toplevel") . "/home/james/nix-home") (("~/" "config" "--get-color" "" "reset") . "\33[m") (("~/" . magit-toplevel)) (("/home/james/" "rev-parse" "--git-dir")) (("/home/james/" "rev-parse" "--show-toplevel"))))
  command-execute(magit-status)

07:01:10
@jamie-howlie:monero.social@jamie-howlie:monero.socialAnybody also having this issue?'07:01:17
@ckie:ckie.devckie (they/them) k0kada? 13:48:20
@ckie:ckie.devckie (they/them) jamie-howlie: have you tried the default unoverriden package? 13:48:49
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
k0kada?
No idea
14:42:50
@k0kada:matrix.orgk0kada (he/him)
In reply to @jamie-howlie:monero.social

Hi all since my last update of nix-doom-emacs I can't open magit and get the following error:

Debugger entered--Lisp error: (void-function doom-modeline-set-vcs-modeline)
  (doom-modeline-set-vcs-modeline)
  (if (eq major-mode 'magit-status-mode) (doom-modeline-set-vcs-modeline) (hide-mode-line-mode))
  +modeline-hide-in-non-status-buffer-h()
  run-hooks(change-major-mode-after-body-hook special-mode-hook magit-section-mode-hook magit-mode-hook magit-status-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook special-mode-hook magit-section-mode-hook magit-mode-hook magit-status-mode-hook))
  run-mode-hooks(magit-status-mode-hook)
  magit-status-mode()
  magit-setup-buffer-internal(magit-status-mode nil ((magit-buffer-diff-args ("--no-ext-diff")) (magit-buffer-diff-files nil) (magit-buffer-log-args ("-n256" "--decorate")) (magit-buffer-log-files nil)))
  magit-status-setup-buffer("/home/james/nix-home/")
  magit-status("~/nix-home/" ((5 . 7) (("/home/james/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("~/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("/home/james/nix-home/" "rev-parse" "--show-toplevel") . "/home/james/nix-home") (("~/" "config" "--get-color" "" "reset") . "\33[m") (("~/" . magit-toplevel)) (("/home/james/" "rev-parse" "--git-dir")) (("/home/james/" "rev-parse" "--show-toplevel"))))
  funcall-interactively(magit-status "~/nix-home/" ((5 . 7) (("/home/james/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("~/nix-home/" . magit-toplevel) . "/home/james/nix-home/") (("/home/james/nix-home/" "rev-parse" "--show-toplevel") . "/home/james/nix-home") (("~/" "config" "--get-color" "" "reset") . "\33[m") (("~/" . magit-toplevel)) (("/home/james/" "rev-parse" "--git-dir")) (("/home/james/" "rev-parse" "--show-toplevel"))))
  command-execute(magit-status)

Just to make sure, are you overriding any nix-doom-emacs inputs?
14:44:10
@adam:valkor.net@adam:valkor.net

I'm trying to get spell checking working in doom, but I'm missing something. I tried adding:

  programs.doom-emacs = {
    extraPackages = [
      (pkgs.aspellWithDicts (dicts: with dicts; [en en-computers en-science]))
    ];
  };

But it still tells me cannot find aspell. Anyone know how I can resolve this?

17:46:04
@ckie:ckie.devckie (they/them) adamcstephens: extraPackages != PATH, ~, p 17:52:52
@adam:valkor.net@adam:valkor.net
In reply to @ckie:ckie.dev
adamcstephens: extraPackages != PATH, ~, p
thanks, i'll try that!
17:54:14
4 Oct 2022
@jamie-howlie:monero.social@jamie-howlie:monero.social
In reply to @k0kada:matrix.org
Just to make sure, are you overriding any nix-doom-emacs inputs?
Sorry for the delayed answer, but no I'm not. The only thing I'm chaging is addint extra build inputs and adding extra packages (like mu).
06:13:15
@jamie-howlie:monero.social@jamie-howlie:monero.socialRolling back fixed the issue06:14:12
@jamie-howlie:monero.social@jamie-howlie:monero.social
In reply to @jamie-howlie:monero.social
Sorry for the delayed answer, but no I'm not. The only thing I'm chaging is addint extra build inputs and adding extra packages (like mu).
FYI Your hint did lead to me to my "fix". I was manually applying emacs overlays, which probably conflicted with the nix-doom-emacs variant. By removing emacs overlay from my own flake I fixed the issue :). Thanks for the hints!
08:38:39
@adam:valkor.net@adam:valkor.net
In reply to @ckie:ckie.dev
adamcstephens: extraPackages != PATH, ~, p
Thanks again. This worked perfectly.
17:19:16
@ckie:ckie.devckie (they/them)(:19:02:06
5 Oct 2022
@hdzki:hdzki.kozow.comhdzki ⚡️
In reply to@jamie-howlie:monero.social
FYI Your hint did lead to me to my "fix". I was manually applying emacs overlays, which probably conflicted with the nix-doom-emacs variant. By removing emacs overlay from my own flake I fixed the issue :). Thanks for the hints!
Did that, didn't seem to fix my issue
12:07:56
@hdzki:hdzki.kozow.comhdzki ⚡️I'm not sure how you're supposed to use NDE's emacs-overlay12:08:09
@hdzki:hdzki.kozow.comhdzki ⚡️it's not an output so I can't use emacsPgtk12:08:25
@k0kada:matrix.orgk0kada (he/him)
In reply to @hdzki:hdzki.kozow.com
I'm not sure how you're supposed to use NDE's emacs-overlay
This is how I do it: https://github.com/thiagokokada/nix-configs/blob/master/home-manager/emacs/default.nix#L21-L24
22:20:40
@k0kada:matrix.orgk0kada (he/him)Also: https://github.com/thiagokokada/nix-configs/blob/master/overlays/default.nix#L822:20:55
@hdzki:hdzki.kozow.comhdzki ⚡️so it's okay to use emacs-overlay, just don't override the emacs-overlay in NDE is it?22:32:31
@hdzki:hdzki.kozow.comhdzki ⚡️that and nixpkgs as well?22:32:45
@shane:sveller.social@shane:sveller.social left the room.23:04:25
6 Oct 2022
@k0kada:matrix.orgk0kada (he/him)I override both, but I am one of the developers, so I generally know when things go wrong anyway09:34:47
@k0kada:matrix.orgk0kada (he/him)In general I do not recommend you to override the inputs09:35:05
@k0kada:matrix.orgk0kada (he/him)One thing that you should never override though is the doomemacs input09:35:57
@ckie:ckie.devckie (they/them)hah meanwhile I just have some random ancient nix-doom-emacs rev and it works well for me11:03:19
@k0kada:matrix.orgk0kada (he/him) BTW ckie (they/them), maybe we should disable doom-emacs updates until we fix #268 13:04:45

Show newer messages


Back to Room ListRoom Version: 9