!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
7 Sep 2023
@ckie:ckie.devmei 🌒&yes! 14:12:19
@JoelMcCracken:matrix.orgJoelMcCrackenbut yeahwe should be able to share a lot of all of this code14:12:20
@JoelMcCracken:matrix.orgJoelMcCrackenit would be v nice if elpaca had some design input from us14:13:08
@JoelMcCracken:matrix.orgJoelMcCrackenso that we could just interface with it instead of having to hack it14:13:25
@ckie:ckie.devmei 🌒& my thought was, main Emacs goes "I want this straight recipe (package! blabla :pin "whatever")" and system()s a nix-build --argstr recipe "…", then there's another little Emacs spawned inside the Nix sandbox which is a FOD and has network access, so it goes on fetching that package and then brings the output back through Nix to the main Emacs 14:14:07
@JoelMcCracken:matrix.orgJoelMcCrackenyep14:14:25
@JoelMcCracken:matrix.orgJoelMcCrackentho, FOD?14:14:42
@ckie:ckie.devmei 🌒&fixed-output derivation, a sorta precondition to getting network access in the nix sandbox14:14:56
@JoelMcCracken:matrix.orgJoelMcCrackenic14:15:03
@ckie:ckie.devmei 🌒& you know, the hash option you set when you use fetchFromSomething 14:15:06
@JoelMcCracken:matrix.orgJoelMcCrackenk14:15:12
@ckie:ckie.devmei 🌒& * you know, the hash attr you set when you use fetchFromSomething 14:15:14
@ckie:ckie.devmei 🌒&i like this (:14:15:42
@JoelMcCracken:matrix.orgJoelMcCrackenyea it sounds cool14:15:52
@JoelMcCracken:matrix.orgJoelMcCrackentho first step would be to get the regular build step working so14:16:11
@ckie:ckie.devmei 🌒&i think we should work on extracting the "install recipe with straight and get a package" bit out from doom's big mess14:25:16
@ckie:ckie.devmei 🌒&ref for FOD btw: https://nixos.org/manual/nix/unstable/language/advanced-attributes.html?highlight=outputHash#adv-attr-outputHash14:27:27
@JoelMcCracken:matrix.orgJoelMcCrackenok, learned something new14:29:53
@JoelMcCracken:matrix.orgJoelMcCracken i guess message output isn't shown for some reason from within straight-use-package advice 14:30:25
@ckie:ckie.devmei 🌒&don't we suppress that for some reason?14:30:45
@JoelMcCracken:matrix.orgJoelMcCracken but doom's own print! is working 14:30:47
@JoelMcCracken:matrix.orgJoelMcCracken"we?"14:30:58
@JoelMcCracken:matrix.orgJoelMcCrackenlike nix-doom-emacs suppresses it somehow?14:31:05
@ckie:ckie.devmei 🌒&yeah. or maybe doom, i don't remember exactly14:31:21
@ckie:ckie.devmei 🌒& * yeah. or maybe doom, i don't remember exactly where14:31:23
@ckie:ckie.devmei 🌒&elpaca looks nice14:50:49
@ckie:ckie.devmei 🌒& looks like the author is aware of nix existing 14:53:16
@ckie:ckie.devmei 🌒&i'm thinking i might end up giving up doom because it seems to be kinda stalled. but the straight stuff is great regardless 15:06:18
@ckie:ckie.devmei 🌒& * i'm thinking i might end up giving up doom eventually because it seems to be kinda stalled. but the straight stuff is great regardless 15:07:37
@woobilicious:matrix.orgwoobilicious joined the room.17:11:46

Show newer messages


Back to Room ListRoom Version: 9