!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
4 Sep 2022
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.01:20:01
@mon:tchncs.deribosomerocker if you guys want to check my repo again, i removed the doom branch and merged it to master 01:31:09
@mon:tchncs.deribosomerocker i have a queue of things to do, so i'll get to writing the docs in maybe ~12 hours 01:31:29
@coolshaurya:community.rscoolshaurya joined the room.07:30:06
@sjuehx:matrix.orgsjuehx joined the room.07:55:55
@mon:tchncs.deribosomerocker
In reply to@mon:tchncs.de
well, after an entire system breaking and also restoring it, then re-building, it works :smiley:

i forget that one issue still remains: vterm

% sudo nixos-rebuild switch --flake ~/.config/nixos
warning: Git tree '/home/mon/.config/nixos' is dirty
building the system configuration...
warning: Git tree '/home/mon/.config/nixos' is dirty
error: attribute 'src' missing

       at /nix/store/sjmq1gphj1arbzf4aqqnygd9pf4hkfkf-source/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix:531:31:

          530|           cmakeFlags = [
          531|             "-DEMACS_SOURCE=${self.emacs.src}"
             |                               ^
          532|             "-DUSE_SYSTEM_LIBVTERM=ON"
(use '--show-trace' to show detailed location information)
08:25:07
@mon:tchncs.deribosomerocker after enabling that, it results in this error 08:25:15
@mon:tchncs.deribosomerockerlet me try somethhing...08:25:19
@mon:tchncs.deribosomerocker nope, didn't work anyways 08:28:30
@k0kada:matrix.orgk0kada (he/him) Hey ckie (they/them), are you going to NixCon? 11:21:25
@ckie:ckie.devmei 🌒& k0kada: nope, paris is too far away :P 11:47:52
@ckie:ckie.devmei 🌒&(but it'd be cool)11:48:02
@zlexpp:matrix.org@zlexpp:matrix.org joined the room.11:49:26
@mon:tchncs.deribosomerocker by the by.. about the FAQ thing, can you guys think of any off the top of your heads? 11:52:00
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de

i forget that one issue still remains: vterm

% sudo nixos-rebuild switch --flake ~/.config/nixos
warning: Git tree '/home/mon/.config/nixos' is dirty
building the system configuration...
warning: Git tree '/home/mon/.config/nixos' is dirty
error: attribute 'src' missing

       at /nix/store/sjmq1gphj1arbzf4aqqnygd9pf4hkfkf-source/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix:531:31:

          530|           cmakeFlags = [
          531|             "-DEMACS_SOURCE=${self.emacs.src}"
             |                               ^
          532|             "-DUSE_SYSTEM_LIBVTERM=ON"
(use '--show-trace' to show detailed location information)
This does looks like either an issue with nixpkgs or emacs-overlay
14:24:11
7 Sep 2022
@shane:sveller.social@shane:sveller.social joined the room.16:12:48
8 Sep 2022
@mon:tchncs.deribosomerocker anyways, now that i'm done, i think i'm going to help with the documentation by making wiki articles in the github repo, but it seems you guys don't have the wiki enabled 07:23:38
@ckie:ckie.devmei 🌒& mon_aaraj: i think a PR with a new docs folder would be better so it can be available offline and maybe converted into a manpage too eventually 10:53:09
@ckie:ckie.devmei 🌒& (you can clone github wikis but they're a separate git repo, have bad UX etc etc) 10:53:36
@mon:tchncs.deribosomerocker ah alright 11:05:03
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
This should be a derivation, not a function
i agree! anytime it's getting fixed?
16:48:21
@mon:tchncs.deribosomerocker i think the switch to packages and derivations should be done ASAP 16:48:48
@k0kada:matrix.orgk0kada (he/him) I am waiting ckie (they/them) to approve this PR first: https://github.com/nix-community/nix-doom-emacs/pull/260 16:52:12
@k0kada:matrix.orgk0kada (he/him)Yeah, they're not related, but I don't want to have too many improvements PRs at the same time :P16:52:37
@mon:tchncs.deribosomerocker is using nix-doom-emacs without home-manager in any way recommended? i'm trying to see if i can write an example conf without home-manager but the whole package and functions instead of derviations is making it pretty difficult since i don't know how that'd work 16:54:10
@mon:tchncs.deribosomerocker i might just write it as if those things are already merged haha 16:54:23
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
is using nix-doom-emacs without home-manager in any way recommended? i'm trying to see if i can write an example conf without home-manager but the whole package and functions instead of derviations is making it pretty difficult since i don't know how that'd work
This is something that I realized the other day. It is possible but it gets ugly
16:56:00
@k0kada:matrix.orgk0kada (he/him)Ironically, it is more difficult to do this with Flakes than without Flakes16:56:39
@mon:tchncs.deribosomerocker oh wow 16:57:37
@mon:tchncs.deribosomerocker

i mean, with non-flakes it's as easy as

doom-emacs = pkgs.callPackage (builtins.fetchTarball {
    url = https://github.com/nix-community/nix-doom-emacs/archive/master.tar.gz;
  }) {
    doomPrivateDir = ./doom.d;

right? since that's usable in both home.packages and systemPackages?

16:59:10

Show newer messages


Back to Room ListRoom Version: 9