!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
1 Sep 2022
@k0kada:matrix.orgk0kada (he/him) One thing that I think it makes NDE more flimsy than it should is that if you want to use the same emacs-overlay pin that is used in NDE it is kinda a pain because we don't expose emacs-overlay as a Flake 15:25:28
@k0kada:matrix.orgk0kada (he/him) But I am not sure if importing emacs-overlay as a flake is better because them we have all the indirect imports that we don't need 15:26:08
@mon:tchncs.deribosomerocker about my issue, i'll be attempting to create a minimal flake, though because of my very little experience i'm not sure i know how to "test" those flakes in a manner that doesn't break my system, and also one that doesn't waste much of my time :P, but if you want my entire config in all of it's.. opposite of glory, then it's at: https://git.sr.ht/~monaaraj/nixos-config, ift that's fine instead of the minimal flake, until i somehow make that in a couple days 15:26:42
@k0kada:matrix.orgk0kada (he/him)

i'll be attempting to create a minimal flake

Take the Flake template from the bug report

15:27:17
@k0kada:matrix.orgk0kada (he/him)(Actually, we should also expose it on the "Anything else" issue, I thought it was already there but I was wrong)15:27:47
@k0kada:matrix.orgk0kada (he/him)I will probably work to improve this bug report later on, maybe just a zip with everything15:28:13
@mon:tchncs.deribosomerocker yeah i've seen that, it's just i'm not sure how i could easily test it 15:28:19
@k0kada:matrix.orgk0kada (he/him) * I will probably work to improve this flake template later on, maybe just a zip with everything15:28:25
@k0kada:matrix.orgk0kada (he/him) nix build should be enough 15:28:38
@mon:tchncs.deribosomerocker got it 15:28:43
@ckie:ckie.devmei 🌒&

🕒️ ckie@cookiemonster ~/git/mon-nixos -> nix build .#nixosConfigurations.nixos.config.programs.emacs.package

[1/0/1 copied (119.0/119.0 MiB), 20.4 MiB DL] fetching source from https://cache.nixos.org
15:29:42
@k0kada:matrix.orgk0kada (he/him)Yeah, this would also work15:30:00
@k0kada:matrix.orgk0kada (he/him)If your nix configs is a public repo15:30:06
@k0kada:matrix.orgk0kada (he/him)You can just send the URL or something15:30:15
@mon:tchncs.deribosomerocker it is, though i have my doom emacs portion commented out for now 15:30:20
@k0kada:matrix.orgk0kada (he/him)Just push the changes in a separate branch15:30:34
@k0kada:matrix.orgk0kada (he/him)And post here, I can take a look later15:30:47
@k0kada:matrix.orgk0kada (he/him)

BTW, https://github.com/nix-community/nix-doom-emacs/issues/259#issuecomment-1234110704

Using the flake.nix/overrides.nix is probably the easiest way to fix this if you're familiar with Flakes already

15:31:33
@k0kada:matrix.orgk0kada (he/him) Just clone the NDE repo, add to the flake.nix/overrides.nix and them point your NDE input to your local fork 15:32:04
@ckie:ckie.devmei 🌒& nit: nix-straight.el 15:32:12
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
Just push the changes in a separate branch
alright, here you go: https://git.sr.ht/~monaaraj/nixos-config/tree/doom
15:34:04
@mon:tchncs.deribosomerocker that's my configuration in the needed branch 15:34:17
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org

BTW, https://github.com/nix-community/nix-doom-emacs/issues/259#issuecomment-1234110704

Using the flake.nix/overrides.nix is probably the easiest way to fix this if you're familiar with Flakes already

yeah, i've seen that! it might be good to PR in or patch nix-doom-emacs to have idris2-mode, but i thought you guys would've liked it more if the default package override was close to normal doom-emacs dependencies, that and I dislike hacking on the main source code to implement my preference if I could implement it by using the API already provided
15:35:56
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
Just push the changes in a separate branch
*

alright, here you go: https://git.sr.ht/~monaaraj/nixos-config/tree/doom (this might be confusing, I've named the branch doom, and the folder that i put my doom configuration is doom haha)

15:37:36
@ckie:ckie.devmei 🌒&git is not pleased15:41:32
@ckie:ckie.devmei 🌒&image.png
Download image.png
15:41:33
@ckie:ckie.devmei 🌒& seems that's just git-checkout and there's a way around it but yeah 15:41:52
@mon:tchncs.deribosomerocker ah, so the thing about being both a branch and a folder also annoys git 15:42:01
@ckie:ckie.devmei 🌒&
ckie@cookiemonster ~/git/mon-nixos -> git checkout --no-guess -b doom
Switched to a new branch 'doom'
15:42:13
@mon:tchncs.deribosomerocker very nice 15:42:19

Show newer messages


Back to Room ListRoom Version: 9