!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
5 Jul 2023
@petrichor:envs.netJez (he/him) ♾️
In reply to @roman.gonzalez:matrix.org
at this point, I would recommend reverting the evil-collection dependency resolution to come from emacs (e.g. remove it from the overrides.nix). This may work for Linux folks so no need to stop that from happening.
i've just switched over to nix-doom-emacs and run straight into this issue, so i'm in favour of this fix at least in the short term
18:46:03
@petrichor:envs.netJez (he/him) ♾️ (just done a quick fix here for myself, should probably just submit that as a PR πŸ˜…) 18:48:13
@roman.gonzalez:matrix.org@roman.gonzalez:matrix.orgPull request is up htttps://GitHub.com/nix-community/nix-doom-emacs/pull/48219:41:47
@ckie:ckie.devmei πŸŒ’&i think i'm gonna ride this little flurry of activity & hack on making nde read flake locks19:48:41
@petrichor:envs.netJez (he/him) ♾️
In reply to @roman.gonzalez:matrix.org
Pull request is up htttps://GitHub.com/nix-community/nix-doom-emacs/pull/482
seems to be an extra 't' in that link... πŸ€”
19:58:59
@ckie:ckie.devmei πŸŒ’& * i think i'm gonna ride this little flurry of activity & hack on making nde read straight locks19:59:46
@roman.gonzalez:matrix.org@roman.gonzalez:matrix.orgYeah, on my phone sorry20:00:12
@roman.gonzalez:matrix.org@roman.gonzalez:matrix.orgCan't edit it either20:00:17
@ckie:ckie.devmei πŸŒ’&impressive dedication to have written the whole url out!20:00:36
@ckie:ckie.devmei πŸŒ’&(tho i'd understand if it was just the pr number)20:00:50
@ckie:ckie.devmei πŸŒ’& huh doom still doesn't support Emacs 29 20:02:29
@ckie:ckie.devmei πŸŒ’&goddamn piles of elisp are not fun23:03:15
@ckie:ckie.devmei πŸŒ’&there's so much overhead i can't concentrate on the actual problem because i'm just fighting tooling for hours23:03:43
6 Jul 2023
@ckie:ckie.devmei πŸŒ’& nix-straight.el is a painful layering violation and i wish to replace it with a doomscript 01:17:02
@ckie:ckie.devmei πŸŒ’& * nix-straight.el is a painful layering violation and i wish to replace most of it with a doomscript 01:17:08
@syphoxy:matrix.org@syphoxy:matrix.org
In reply to @roman.gonzalez:matrix.org
Yeah, on my phone sorry
https://www.youtube.com/watch?v=FHkFzRZdlV4
01:31:57
@ckie:ckie.devmei πŸŒ’&wrapping up for the day, i'm out of focus for screen-sized elisp backtraces. found this cool thing though02:05:33
@ckie:ckie.devmei πŸŒ’&https://github.com/alphapapa/burly.el02:05:34
@petrichor:envs.netJez (he/him) ♾️i tried a few years ago to get this working (when nde was pretty new, i think) and failed, but it went very easily this time so thanks to all the contributors!09:14:27
@petrichor:envs.netJez (he/him) ♾️

a couple of newbie questions:

  1. seems like straight-emacs-env gets fully rebuild any time i make a minor change to my config: i assume that's expected behaviour at the moment but let me know if not?
  2. is there a way of specifying that i'm using a literate config and having config.org tangled to config.el as part of the build? for now i switched to doing it manually when i update config.org
09:21:50
@benedikt:tissot.de@benedikt:tissot.dein the FAQ there should be a section about how to specify a config to generate the package environment (and the rest empty) such that you only rebuild when package stuff changes. You can also point your config to a nix expression, so you could write a derivation to tangle config.org and then point on the generated config.el.09:28:55
@petrichor:envs.netJez (he/him) ♾️aha, thanks πŸ™‚09:29:27
@benedikt:tissot.de@benedikt:tissot.deSo basically you would generate some derivation for doomPackageDir (for the packages) and then for doomPrivateDir you combine this with your tangled config09:29:28
@petrichor:envs.netJez (he/him) ♾️ok, will play with this a bit to figure it out and then see if it's worth making a pr to add to nde itself09:30:13
@petrichor:envs.netJez (he/him) ♾️oh look, there's already some code i can steal at https://github.com/nix-community/nix-doom-emacs/issues/60 πŸ˜…09:31:59
@petrichor:envs.netJez (he/him) ♾️that'll teach me to rtfm (spoiler: it probably won't)09:32:14
@petrichor:envs.netJez (he/him) ♾️
In reply to @benedikt:tissot.de
in the FAQ there should be a section about how to specify a config to generate the package environment (and the rest empty) such that you only rebuild when package stuff changes.
You can also point your config to a nix expression, so you could write a derivation to tangle config.org and then point on the generated config.el.
it's not in the faq, but i found it in a closed issue & pr https://github.com/nix-community/nix-doom-emacs/pull/303
09:36:56
@benedikt:tissot.de@benedikt:tissot.deoh sorry, I guess this is where I got it from then πŸ™ˆπŸ™ˆ09:39:48
@petrichor:envs.netJez (he/him) ♾️tbf it probably should go in the faq, i expect it's a pretty common question09:43:19
7 Jul 2023
@jasonjckn:matrix.orgNull_AIsn't doom suppose to have some major rewrite in the package manager, wondering how that's going 00:26:51

Show newer messages


Back to Room ListRoom Version: 9