!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
12 Sep 2022
@hdzki:hdzki.kozow.comhdzki ⚡️
In reply to@ckie:ckie.dev
hdzki ⚡️: its in in the topics subspace iirc
Oh, didn't see that cause i'm using conduit (no space exploration yet)
16:12:26
@hdzki:hdzki.kozow.comhdzki ⚡️Do you have a link to that space?16:12:38
@ckie:ckie.devmei 🌒&synapse also doesn't do it very well16:12:40
@ckie:ckie.devmei 🌒& #topics:nixos.org 16:13:29
@ckie:ckie.devmei 🌒&
In reply to @ckie:ckie.dev
mon_aaraj, k0kada : taking the lock on #266
releasing it as it seems stacking my review on top of kokadas is not something github does very well
16:15:10
@ckie:ckie.devmei 🌒&(i wanted to see the rich view and when i switched back it lost what i wrote)16:15:35
@k0kada:matrix.orgk0kada (he/him) ckie (they/them): Not sure if I understand your comment in #267, but I answered there 16:37:56
@ckie:ckie.devmei 🌒&yup, thinking about resp already16:38:14
@k0kada:matrix.orgk0kada (he/him) Well, I hope I clarified my idea of exposing app and why package is as-is 16:54:02
@ckie:ckie.devmei 🌒& k0kada: i'm getting the temptation to __functor 16:59:57
@ckie:ckie.devmei 🌒&(callable attrset)17:00:22
@k0kada:matrix.orgk0kada (he/him)Does this work in stable versions of nix/17:00:53
@k0kada:matrix.orgk0kada (he/him) * Does this work in stable versions of nix?17:00:54
@ckie:ckie.devmei 🌒&sure, it's been around forever17:01:00
@k0kada:matrix.orgk0kada (he/him)I thought it was an experimental feature17:01:01
@ckie:ckie.devmei 🌒&but it's not a serious idea, just fun17:01:04
@k0kada:matrix.orgk0kada (he/him)Ohh, I see17:01:08
@ckie:ckie.devmei 🌒&image.png
Download image.png
17:01:28
@ckie:ckie.devmei 🌒& k0kada: you should see my html thing 17:01:55
@ckie:ckie.devmei 🌒&https://github.com/ckiee/nixfiles/blob/a046c6969867133b01d9b62a6db27acbaab523a0/modules/services/ckiesite/exp/html.nix17:02:05
@ckie:ckie.devmei 🌒&
trace: <!doctype html><html lang="en">
  <body>
  <main>
  <h1 id="hi">
  helo
</h1>
</main>
</body>
</html>
{ _ = "<!doctype html><html lang=\"en\">\n  <body>\n  <main>\n  <h1 id=\"hi\">\
n  helo\n</h1>\n</main>\n</body>\n</html>"; a = { }; body = { __functor = <LAMB
DA>; args = [ ]; e = true; make = <LAMBDA>; name = "body"; }; done = "sym:eleme
nt/done"; element = { __functor = <LAMBDA>; args = [ ]; e = true; make = <LAMBD
A>; }; h1 = { __functor = <LAMBDA>; args = [ ]; e = true; make = <LAMBDA>; name
 = "h1"; }; html = { __functor = <LAMBDA>; args = [ ]; e = true; make = <LAMBDA
>; name = "html"; }; index = { __functor = <LAMBDA>; args = [ { lang = "en"; }
{ body = { __functor = <LAMBDA>; args = [ { main = { __functor = <LAMBDA>; args
 = [ { hi = { __functor = <LAMBDA>; args = [ "helo" ]; e = true; make = <LAMBDA
>; name = "h1"; }; } ]; e = true; make = <LAMBDA>; name = "main"; }; } ]; e = t
rue; make = <LAMBDA>; name = "body"; }; } ]; e = true; make = <LAMBDA>; name =
"html"; }; main = { __functor = <LAMBDA>; args = [ ]; e = true; make = <LAMBDA>
; name = "main"; }; render = <LAMBDA>; }
17:02:24
@k0kada:matrix.orgk0kada (he/him)I think I thought it was a experimental feature mostly because the first time I heard about functors in Nix, was when Eelco replied to me in a Nix issue that they exist17:02:50
@k0kada:matrix.orgk0kada (he/him)And it was his idea of having documentation in nix functions17:03:14
@k0kada:matrix.orgk0kada (he/him)I never actually saw a usage of functors though17:03:42
@ckie:ckie.devmei 🌒&i am a mild functor addict17:04:02
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
https://github.com/ckiee/nixfiles/blob/a046c6969867133b01d9b62a6db27acbaab523a0/modules/services/ckiesite/exp/html.nix
I thought my Nix config was huge, but oh...
17:07:17
@ckie:ckie.devmei 🌒&the exp is for experiment17:07:34
@ckie:ckie.devmei 🌒&html.nix isnt being used by anything yet17:07:45
@ckie:ckie.devmei 🌒&but yes! it has like its own framework17:08:04
@k0kada:matrix.orgk0kada (he/him)Huh... Interesting, you commited your OTD config to the repo17:08:11

Show newer messages


Back to Room ListRoom Version: 9