!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
4 Mar 2023
@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.orgchrispickard

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.orgyousiki joined the room.08:34:14
@yousiki:matrix.orgyousiki
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.orgyousikiDo I have to pin emacs-overlay?08:36:47
@roman.gonzalez:matrix.orgroman.gonzalez joined the room.17:26:53
@gilganix:matrix.orgMist 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.actwk O))) joined the room.08:51:08
@paultrial:banditlair.compaultrial joined the room.19:36:01
14 Mar 2023
@ckie:ckie.devckie (they/them) 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.ukasymmetric 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
@spherinder:matrix.orgspherinder joined the room.18:45:04
22 Mar 2023
@asbjorn:olli.ngA2 joined the room.13:00:52
@asbjorn:olli.ngA2

Heya all 👋 Emacs noob here with a question 😅

I'm trying to install a package from MELPA, by adding a (package! <packagename>) line to my packages.el file.
When I nixos-rebuild switch, it fails with error Package not available: <packagename>

13:08:21
@asbjorn:olli.ngA2 using package! in packages.el has worked for me in the past, and I have verified that the package I want does exist in MELPA under that name, by searching melpa.org 13:09:01
@asbjorn:olli.ngA2 * Using package! in packages.el has worked for me in the past, and I have verified that the package I want does exist in MELPA under that name, by searching melpa.org 13:09:10
@asbjorn:olli.ngA2 It's a relatively new package, so I guess it could be related to this issue of MELPA repos not updating properly 13:10:07
@asbjorn:olli.ngA2

hlissner even suggests a workaround:

# Update MELPA
cd ~/.emacs.d/.local/straight/repos/melpa
git pull

# Clear straight's cache
rm -f ~/.emacs.d/.local/straight/build-cache.el
doom sync

But since I've set up doom through nixos (presumably), ~/.emacs.d/ is empty.

13:11:43
@asbjorn:olli.ngA2TL;DR does anyone know how to update the MELPA repository indexes manually on NixOS?13:16:31
23 Mar 2023
@ckie:ckie.devckie (they/them) changed their display name from ckie (they/them; heavily limited keyboard usage, dictation or voice only) to ckie (they/them; limited keyboard usage, voice preferred).02:04:02

Show newer messages


Back to Room ListRoom Version: 9