!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
21 Sep 2022
@k0kada:matrix.orgk0kada (he/him)
In reply to @worldofgeese:one.ems.host

👋 Is it correct that

(package! igist
  :recipe (:host github :repo "KarimAziev/igist"))

is not the correct way of adding packages to nix-doom-emacs? I'm getting error: evaluation aborted with the following error message: 'Package not available: igist' when attempting to switch with home-manager

It is important to note that nix-straight.el just takes the package name and tries to find it in emacs-overlay or in our internal overrides or in the user overrides
15:54:29
@k0kada:matrix.orgk0kada (he/him)It completely ignores anything else15:54:44
@ckie:ckie.devckie (they/them)aha15:55:26
@ckie:ckie.devckie (they/them)this is answered by the open docs PR15:55:32
@ckie:ckie.devckie (they/them) worldofgeese: https://github.com/nix-community/nix-doom-emacs/blob/1a524776a4402745e6ddf40253f1c6a33f0c8cd1/docs/faq.md#how-do-i-add-a-package-thats-only-on-github-or-any-git-frontend 15:55:34
@k0kada:matrix.orgk0kada (he/him) When the package is missing, you need to add it yourself using emacsPackagesOverlay 15:55:44
@k0kada:matrix.orgk0kada (he/him) Thanks ckie (they/them), I was just getting the link for the PR lol 15:56:02
@ckie:ckie.devckie (they/them)yeah I just finished a review round on it so it was handy15:56:11
@ckie:ckie.devckie (they/them) * yeah I just finished a review round on it so it was handy (on hand?)15:56:18
@nospaces:fairydust.spacenospaces joined the room.20:14:58
22 Sep 2022
@cfeeley:matrix.orgcfeeley joined the room.23:16:00
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

Show newer messages


Back to Room ListRoom Version: 9