!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
4 Mar 2023
@benedikt:tissot.de@benedikt:tissot.deYou can also pin emacs-overlay15:37:28
@ixlun:matrix.orgMatthew LeachAh so is this an emacs-overlay regression?15:38:00
@benedikt:tissot.de@benedikt:tissot.deI actually think it is a change in upstream emacs as there were only bumps in emacs between the commit (scroll up a bit here I posted it at some point) that broke it for me and the last one that worked15:39:33
@ixlun:matrix.orgMatthew LeachI'll take a look. Thanks!15:47:19
@ravensiris:matrix.orgravensiris

Can confirm it worked for me with:

inputs.emacs-overlay.url = "https://github.com/nix-community/emacs-overlay/commit/c16be6de78ea878aedd0292aa5d4a1ee0a5da501";
15:57:13
@ravensiris:matrix.orgravensirisand emacsPgtk15:57:23
@ravensiris:matrix.orgravensiris *

Can confirm it worked for me with:

inputs.emacs-overlay.url = "github:nix-community/emacs-overlay?rev=c16be6de78ea878aedd0292aa5d4a1ee0a5da501";
15:58:40
@ravensiris:matrix.orgravensiris anyone has tree-sitter grammars for emacs 29+ builtin tree-sitter module configured through nix?
emacs expects the tree-sitter shared objects to be called libtree-sitter-LANGUAGE.so so currently tree-sitter-grammars package won't work since it generates LANGUAGE.so. is there a way to overlay tree-sitter-grammars so it symlinks LANGUAGE.so to libtree-sitter-LANGUAGE.so? or alternatively does anyone have this packaged: https://github.com/casouri/tree-sitter-module ? I tried manually building https://github.com/casouri/tree-sitter-module in my home dir and then added (setq treesit-extra-load-path '("/home/myuser/tree-sitter-module/dist")) and it worked. but it's not ideal, would like it managed by nix.
tree-sitter docs for reference: https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=emacs-29
17:36:28
@jasonjckn:matrix.orgNull_A
In reply to @ravensiris:matrix.org
anyone has tree-sitter grammars for emacs 29+ builtin tree-sitter module configured through nix?
emacs expects the tree-sitter shared objects to be called libtree-sitter-LANGUAGE.so so currently tree-sitter-grammars package won't work since it generates LANGUAGE.so. is there a way to overlay tree-sitter-grammars so it symlinks LANGUAGE.so to libtree-sitter-LANGUAGE.so? or alternatively does anyone have this packaged: https://github.com/casouri/tree-sitter-module ? I tried manually building https://github.com/casouri/tree-sitter-module in my home dir and then added (setq treesit-extra-load-path '("/home/myuser/tree-sitter-module/dist")) and it worked. but it's not ideal, would like it managed by nix.
tree-sitter docs for reference: https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=emacs-29
emacs-overlay does this
18:54:24
@ravensiris:matrix.orgravensiris
In reply to @jasonjckn:matrix.org
emacs-overlay does this

Thanks it's here indeed https://github.com/nix-community/emacs-overlay/blob/master/overlays/emacs.nix#L108-L136.
Got it working with:

            overlays = [ emacs-overlay.overlays.default (final: prev: {
              emacsPgtk = prev.emacsPgtk.override {
                treeSitterPlugins = with prev.pkgs.tree-sitter-grammars; [ 
                  tree-sitter-elixir
                  tree-sitter-heex
                  tree-sitter-eex
                ];
              };
            })];
20:12:48
@jasonjckn:matrix.orgNull_AScreenshot 2023-03-04 at 12.41.42 PM.png
Download Screenshot 2023-03-04 at 12.41.42 PM.png
20:42:36
@jasonjckn:matrix.orgNull_AScreenshot 2023-03-04 at 12.42.03 PM.png
Download Screenshot 2023-03-04 at 12.42.03 PM.png
20:42:37
@jasonjckn:matrix.orgNull_A ravensiris:
if you want branch v29, you can do something like this
20:42:38
@twitchy0:matrix.orgtwitchy0 joined the room.22:58:13
10 Mar 2023
@chrispickard:matrix.org@chrispickard:matrix.org

I attempted to port my working doom config over to home-manager today and I'm running into

Doom hasn't been initialized yet; did you remember to run 'doom sync' in the shell?

which I see is an open bug on the issue tracker, does anyone have any more information or workarounds?

18:46:34
11 Mar 2023
@yousiki:matrix.org@yousiki:matrix.org joined the room.08:34:14
@yousiki:matrix.org@yousiki:matrix.org
In reply to @ixlun:matrix.org

Hi all. I've just updated to the latest nix-doom-emacs. When applying my config, nix is getting stuck at:

[1/0/1 built] building emacs-straight-packages.json (installPhase): [nix-doom-emacs] Inhibiting (kill-emacs)

I've left it over 30 minutes but no progress. Has anyone else seen this?

Hi, I've got the same issue, does anyone know how to fix this? Thanks in advance.
08:34:29
@yousiki:matrix.org@yousiki:matrix.orgDo I have to pin emacs-overlay?08:36:47
@roman.gonzalez:matrix.org@roman.gonzalez:matrix.org joined the room.17:26:53
@gilganix:matrix.org@gilganix:matrix.org joined the room.17:58:31
12 Mar 2023
@ixlun:matrix.orgMatthew Leach
In reply to @yousiki:matrix.org
Hi, I've got the same issue, does anyone know how to fix this? Thanks in advance.
I'm afraid I didn't find a solution to this. So I switched to stable emacs with nix-doom-emacs but I also found issues with major key combinations not working like SPC b b to switch buffers. So for now, I'm using emacsPgtk from the overlay but managing doom manually.
07:56:45
@ixlun:matrix.orgMatthew Leach
In reply to @yousiki:matrix.org
Hi, I've got the same issue, does anyone know how to fix this? Thanks in advance.
* I'm afraid I didn't find a solution to this. I started by switching to stable emacs with nix-doom-emacs but I also found issues with major key combinations not working like SPC b b to switch buffers. So for now, I'm using emacsPgtk from the overlay but managing doom manually.
07:57:11
@twk:ccc.ac@twk:ccc.ac joined the room.08:51:08
@paultrial:banditlair.compaultrial joined the room.19:36:01
14 Mar 2023
@ckie:ckie.devmei 🌒& changed their display name from ckie (they/them) to ckie (they/them; heavily limited keyboard usage, dictation or voice only).01:11:14
@andrew:chat.afontaine.devsparogy (he/him) joined the room.19:57:16
16 Mar 2023
@philipp:xndr.dephilipp joined the room.17:27:04
20 Mar 2023
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk joined the room.09:37:28
21 Mar 2023
@felixfahrbahn:matrix.orgfelixfahrbahn joined the room.00:09:23
@geordieshaun:matrix.orggeordieshaun joined the room.18:19:11

Show newer messages


Back to Room ListRoom Version: 9