| 17 Sep 2022 |
Florian | 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
| 11:28:23 |
Florian | Without nix-doom-emacs it is working | 11:29:00 |
ckie (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 (he/him) | In reply to @ckie:ckie.dev so would you like to be crawled? What do you mean crawled? | 11:46:58 |
ckie (they/them) | well she's looking for people to do things there and seems to be asking whoever she can find | 11:47:37 |
k0kada (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 (he/him) | Need to go outside my bubble sometimes | 11:48:13 |
k0kada (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 (he/him) | But basically, you're doing it wrong | 11:50:30 |
k0kada (he/him) | You don't overwrite the emacs inside a overlay, instead of pass you custom emacs as a emacsPackages | 11:51:43 |
k0kada (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 (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 |
Florian | 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 (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 (he/him) | If you have your config public give it to me, I can take a look later | 12:09:16 |
ribosomerocker | do you guys not download project.el? | 12:54:19 |
Florian | 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 (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 (they/them) | try using extraPackages for vterm | 12:59:59 |
k0kada (he/him) | Old habits die hard | 13:00:08 |
ckie (they/them) | in mine
extraPackages = epkgs: [ pkgs.mu ];
emacsPackages = emacsOverlay.emacsPackagesFor emacs;
| 13:00:15 |
ckie (they/them) | ~ | 13:00:43 |
ribosomerocker | 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 (he/him) | In reply to @mon:tchncs.de nah, i mean for nix-doom-emacs Yeah, I understand | 13:23:57 |
ribosomerocker | ah | 13:24:03 |
ribosomerocker | i 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 NDE | 13:24:13 |
ribosomerocker | do you have `project-*` commands? | 13:25:35 |
Florian | 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 (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 |
ribosomerocker | In reply to @mon:tchncs.de do you have project-* commands? ok, i was being stupid | 19:35:23 |