!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
23 Sep 2022
@adam:valkor.net@adam:valkor.net joined the room.21:49:53
25 Sep 2022
@nasrudin_:matrix.orgnasrudin_ joined the room.22:11:45
@nasrudin_:matrix.orgnasrudin_Just ran into what I think is this issue -> https://github.com/doomemacs/doomemacs/issues/6541 (but with https://github.com/nix-community/nix-doom-emacs managed via home-manager on nixos)22:14:46
@nasrudin_:matrix.orgnasrudin_It's not clear to me how to apply the relevant fix that works for non-nix-community/nix-doom-emacs, however22:15:36
@nasrudin_:matrix.orgnasrudin_(fix -> https://github.com/doomemacs/doomemacs/issues/5207#issuecomment-1159040527 )22:16:04
@nasrudin_:matrix.orgnasrudin_namely because I have no idea how to locate the specific directory of a cached .emacs.d in /nix/store22:16:38
@ckie:ckie.devckie (they/them)the WIP docs pr might help https://github.com/nix-community/nix-doom-emacs/blob/5952ea8b87ff7abb2310322e095c98c8096570ad/docs/faq.md#how-do-i-add-a-package-thats-only-on-github-or-any-git-frontend22:16:50
@nasrudin_:matrix.orgnasrudin_I think I understand why that might help22:18:34
@nasrudin_:matrix.orgnasrudin_but in this case I think I'd have to figure out what package is the issue22:18:51
@nasrudin_:matrix.orgnasrudin_Here's what I know:22:19:00
@nasrudin_:matrix.orgnasrudin_It's been a while (weeks) since I rebuilt my system (and hence doom-emacs)22:19:29
@nasrudin_:matrix.orgnasrudin_

so

> sudo -i nixos-rebuild build

yields

building Nix...
building the system configuration...
error: attribute 'codeberg' missing for call to 'getAttr'

       at /nix/store/l76lxl8460zkknyhc90qdip8z570bjv2-nixos-22.05.908.a119e218ad2/nixos/pkgs/applications/editors/emacs/elisp-packages/libgenerated.nix:10:33:

            9|                         , commit
           10|                         , ...}: {
             |                                 ^
           11|       github = self.callPackage ({ fetchFromGitHub }:
(use '--show-trace' to show detailed location information)

22:20:07
@ckie:ckie.devckie (they/them) it appears to be missing from here but I have no idea how you've gotten into that codepath 22:21:40
@nasrudin_:matrix.orgnasrudin_

Yeah

> sudo -i nixos-rebuild build --show-trace 

is not helpful, since nothing about that actually shows which package is causing the error

22:28:01
@nasrudin_:matrix.orgnasrudin_guess I'll start with a clean config and then bisect what I have...22:28:36
26 Sep 2022
@jamie-howlie:monero.social@jamie-howlie:monero.socialHi guys, I cant get mu4e working, it says "cannot open load file: no such file or directory, mu4e"14:05:04
@jamie-howlie:monero.social@jamie-howlie:monero.socialI used the default flake example from the nix-doom-emacs example. Did I miss somwthing?14:05:35
@ckie:ckie.devckie (they/them) jamie-howlie: mu needs to be in path and nde's extraPackages 17:23:24
@ckie:ckie.devckie (they/them)(it includes the binary and the elisp in one derivation, kind of weird)17:23:40
@jamie-howlie:monero.social@jamie-howlie:monero.social
In reply to @ckie:ckie.dev
jamie-howlie: mu needs to be in path and nde's extraPackages
Hi ckie, thanks for your reaction! I have added pkgs.mu already indeed. But it is actually complaining about "mu4e" not "mu" itself
18:29:21
@bb010g:matrix.orgDusk joined the room.23:50:03
27 Sep 2022
@ckie:ckie.devckie (they/them) jamie-howlie: maybe bad advice, but try adding it to your user env (home.packages with HM) 00:05:16
@jamie-howlie:monero.social@jamie-howlie:monero.social
In reply to @ckie:ckie.dev
jamie-howlie: maybe bad advice, but try adding it to your user env (home.packages with HM)
Unofrtunately I also tried adding pkgs.mu to home.packages as well.. :/ Is there a flake or package in emacs overlay for mu4e? Maybe I should try adding that instead.
05:52:00
@ckie:ckie.devckie (they/them)nope, and it works fine here with my config 05:52:29
@ckie:ckie.devckie (they/them)i have a /nix/store/ylh559dmli9hazyzkd0i66qhqng47x99-emacs-packages-deps/share/emacs/site-lisp/mu4e among a few other paths05:52:49
@ckie:ckie.devckie (they/them) do you have a /nix/store/3kcz1cj98r2dxi599l16rn2gazkkbjj0-mu-1.8.8/share/emacs/site-lisp/mu4e/mu4e.el? 05:53:10
@jamie-howlie:monero.social@jamie-howlie:monero.socialHmm Im not in front of my PC now so Ill have to check over 30 min. I did not check for mu4e knside pkgs.mu installation indeed 🤔05:54:21
@ckie:ckie.devckie (they/them) SPC h v (helpful-variable mu4e) (its interactive) links to that -mu- path 05:55:16
@ckie:ckie.devckie (they/them) * SPC h v (helpful-variable mu4e) (its interactive) links to that *-mu-* path 05:55:23
@ckie:ckie.devckie (they/them) * SPC h f (helpful-callable mu4e) (its interactive) links to that *-mu-* path 05:55:41

Show newer messages


Back to Room ListRoom Version: 9