!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
17 Sep 2022
@qe7ftcyrpg:matrix.orgFlorianWithout nix-doom-emacs it is working11:29:00
@ckie:ckie.devckie (they/them)
In reply to @k0kada:matrix.org
I will probably go, but I am not planning to present anything
so would you like to be crawled?
11:46:08
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
so would you like to be crawled?
What do you mean crawled?
11:46:58
@ckie:ckie.devckie (they/them)well she's looking for people to do things there and seems to be asking whoever she can find11:47:37
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
well she's looking for people to do things there and seems to be asking whoever she can find
Oh sure, this looks like a good idea
11:48:03
@k0kada:matrix.orgk0kada (he/him)Need to go outside my bubble sometimes 11:48:13
@k0kada:matrix.orgk0kada (he/him)
In reply to @qe7ftcyrpg:matrix.org

Hi im trying to use native comp. I added this to my overlays

        emacs-overlay.overlay
        ...
        (self: super: with super; {
          ...
          emacs = (emacsPackagesFor pkgs.emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm ]);

and get

error: attribute 'version' missing

       at /nix/store/hgi7cx0a326zll31n503a4mbc3bscm28-source/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix:68:39:

           67|             else super.seq;
           68|       project = if lib.versionAtLeast self.emacs.version "28"
             |                                       ^
           69|                 then null
I need to properly investigate this bug eventually, it seems depending on how you invoke the Emacs wrapper it propagates something wrong
11:50:13
@k0kada:matrix.orgk0kada (he/him)But basically, you're doing it wrong11:50:30
@k0kada:matrix.orgk0kada (he/him) You don't overwrite the emacs inside a overlay, instead of pass you custom emacs as a emacsPackages 11:51:43
@k0kada:matrix.orgk0kada (he/him)

I need to properly investigate this bug eventually, it seems depending on how you invoke the Emacs wrapper it propagates something wrong
BTW, I am almost sure that this is an issue in nixpkgs, but it seems we are the ones that are most affected by it

11:52:31
@k0kada:matrix.orgk0kada (he/him) *

I need to properly investigate this bug eventually, it seems depending on how you invoke the Emacs wrapper it propagates something wrong

BTW, I am almost sure that this is an issue in nixpkgs, but it seems we are the ones that are most affected by it

11:52:38
@qe7ftcyrpg:matrix.orgFlorian
In reply to @k0kada:matrix.org
You don't overwrite the emacs inside a overlay, instead of pass you custom emacs as a emacsPackages
I already tried that, but got the same error
11:58:47
@k0kada:matrix.orgk0kada (he/him)
In reply to @qe7ftcyrpg:matrix.org
I already tried that, but got the same error
I am almost sure you're doing something wrong still
12:08:48
@k0kada:matrix.orgk0kada (he/him)If you have your config public give it to me, I can take a look later12:09:16
@mon:tchncs.deribosomerockerdo you guys not download project.el?12:54:19
@qe7ftcyrpg:matrix.orgFlorian
In reply to @k0kada:matrix.org
If you have your config public give it to me, I can take a look later
Here i made a branch https://github.com/StillerHarpo/nixosconfiguration/blob/fe2dde752252f3760c9d752cb8381d3da329cba6/flake.nix#L127. Thanks for the help
12:58:04
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
do you guys not download project.el?
I still weirdly use vim's modelines for most of my projects :p
12:59:59
@ckie:ckie.devckie (they/them)try using extraPackages for vterm12:59:59
@k0kada:matrix.orgk0kada (he/him)Old habits die hard13:00:08
@ckie:ckie.devckie (they/them)

in mine

        extraPackages = epkgs: [ pkgs.mu ];
        emacsPackages = emacsOverlay.emacsPackagesFor emacs;
13:00:15
@ckie:ckie.devckie (they/them) ~ 13:00:43
@mon:tchncs.deribosomerocker
In reply to @k0kada:matrix.org
I still weirdly use vim's modelines for most of my projects :p
nah, i mean for nix-doom-emacs
13:23:38
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
nah, i mean for nix-doom-emacs
Yeah, I understand
13:23:57
@mon:tchncs.deribosomerockerah13:24:03
@mon:tchncs.deribosomerockeri dont have it available right now on Doom, and it should've been there by default in Emacs, so I thought it must've been NDE13:24:13
@mon:tchncs.deribosomerockerdo you have `project-*` commands?13:25:35
@qe7ftcyrpg:matrix.orgFlorian
In reply to @ckie:ckie.dev
try using extraPackages for vterm
I removed vterm from everything but init.el. Now it works with native comp and even vterm works. Thanks for the help. I'm still curious why my emacs packge before didn't had a version attribute. Shouldn't every package have one?
14:01:13
@k0kada:matrix.orgk0kada (he/him)
In reply to @qe7ftcyrpg:matrix.org
I removed vterm from everything but init.el. Now it works with native comp and even vterm works. Thanks for the help. I'm still curious why my emacs packge before didn't had a version attribute. Shouldn't every package have one?
A wrapped package doesn't
17:03:51
@mon:tchncs.deribosomerocker
In reply to @mon:tchncs.de
do you have project-* commands?
ok, i was being stupid
19:35:23
@mon:tchncs.deribosomerockerbut now i found an issue: project.el has project-remember-project and project-forget-project, and I can only access the latter19:35:55

Show newer messages


Back to Room ListRoom Version: 9