!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
1 Sep 2022
@mon:tchncs.deribosomerocker very well! i'll start trying to put it in overrides.nix, though i'm guessing i'll have the same error, but hopefully by that time you guys know what caused it 16:11:40
@ckie:ckie.devmei 🌒&delayed here since my compute is being used up by other things16:18:29
@mon:tchncs.deribosomerocker argh, it's really painful editing nix files without doom emacs :( 18:02:27
@mon:tchncs.deribosomerocker I believe I've made the change though; how do I test it? nix build doesn't seem to be ehllping 18:07:33
@mon:tchncs.deribosomerocker * I believe I've made the change though; how do I test it? nix build doesn't seem to be working 18:08:45
@mon:tchncs.deribosomerocker

it's outputting:

error: flake 'git+file:///home/mon/projects/nix/nix-doom-emacs' does not provide attribute 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'
       Did you mean package?
18:08:45
@ckie:ckie.devmei 🌒&well you have to somehow use it with your config, perhaps stick your config in a temp.nix 19:27:47
@mon:tchncs.deribosomerocker

i get this: error: NAR hash mismatch in input 'git+file:///home/mon/projects/nix/nix-doom-emacs' (/nix/store/0pxikgh98ngvgvycr3fl3nnjhwfy37f4-source), expected 'sha256-V+qqtTu80Z/3SyXmgCvzi8OJuJv6CDR5bepzfkaY04M=', got 'sha256-X6yT1XpV6+GESYWW6FWun0pFjzdxqQMwvktjyJegzVg=' after making my nix-doom-emacs input to be my local version?

20:13:44
@mon:tchncs.deribosomerocker

Alright, @ckie (they/them) @k0kada I'm helpless to fix this. I just tried to implement the same thing in overrides.nix as in my configuration and to my non-surprise, I got this error:

error: a 'aarch64-darwin' with features {} is required to build '/nix/store/a5dhhm5nhn936q5177nlv3fn3b4jvqly-source.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
20:34:04
@ckie:ckie.devmei 🌒&--show-trace?20:34:29
@mon:tchncs.deribosomerockerDownload show-trace.txt20:40:36
@mon:tchncs.deribosomerocker

this is the same error the one I got when I was just trying to install idris2-mode

oh, and here's show-trace

20:40:40
@mon:tchncs.deribosomerocker *

this is the same error the one I got when I was just trying to install idris2-mode normall

oh, and here's show-trace

20:40:46
@mon:tchncs.deribosomerocker *

this is the same error the one I got when I was just trying to install idris2-mode normally using emacsPackagesOverlay

oh, and here's show-trace

20:41:50
@ckie:ckie.devmei 🌒&what are you invoking?20:41:58
@mon:tchncs.deribosomerocker fetchFromGitHub 20:42:17
@k0kada:matrix.orgk0kada (he/him)I would be really grateful if you can push your changes20:42:58
@k0kada:matrix.orgk0kada (he/him)I am kinda having to read your whole config because everything is commented20:43:13
@k0kada:matrix.orgk0kada (he/him) So I lost 10 minutes trying to understand why config.programs.emacs doesn't exist... 20:43:30
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
I would be really grateful if you can push your changes
everything should be pushed to the doom branch
20:44:09
@mon:tchncs.deribosomerocker let me see 20:44:31
@k0kada:matrix.orgk0kada (he/him)Ohhh, I see20:44:59
@k0kada:matrix.orgk0kada (he/him)Yeah, the fact that you named your branch the same as a file is really bad :P20:45:15
@ckie:ckie.devmei 🌒&
In reply to @mon:tchncs.de
fetchFromGitHub
no, the command used
20:45:30
@ckie:ckie.devmei 🌒&
In reply to @mon:tchncs.de
fetchFromGitHub
* no, the command used to run the build
20:45:35
@k0kada:matrix.orgk0kada (he/him)No wait20:45:56
@k0kada:matrix.orgk0kada (he/him)It is right here20:46:00
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
Yeah, the fact that you named your branch the same as a file is really bad :P
yeah... if you need, i can change it
20:46:03
@k0kada:matrix.orgk0kada (he/him)But every doom-emacs change is commented20:46:07
@k0kada:matrix.orgk0kada (he/him)I need to have exactly what you're doing20:46:13

Show newer messages


Back to Room ListRoom Version: 9