!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
12 Sep 2022
@ckie:ckie.devckie (they/them)
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.devckie (they/them)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.devckie (they/them)the exp is for experiment17:07:34
@ckie:ckie.devckie (they/them)html.nix isnt being used by anything yet17:07:45
@ckie:ckie.devckie (they/them)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
@k0kada:matrix.orgk0kada (he/him)Maybe I should do the same17:08:15
@ckie:ckie.devckie (they/them)why do you have a tablet?17:08:28
@k0kada:matrix.orgk0kada (he/him)Actually, maybe I should just add it to the module17:08:48
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
why do you have a tablet?
osu :P
17:08:53
@k0kada:matrix.orgk0kada (he/him)I am the OTD maintainer in nixpkgs btw17:09:01
@ckie:ckie.devckie (they/them)ay!17:09:03
@ckie:ckie.devckie (they/them)rsi made me quit17:09:05
@ckie:ckie.devckie (they/them)
In reply to @k0kada:matrix.org
I am the OTD maintainer in nixpkgs btw
small world :D
17:09:17
@k0kada:matrix.orgk0kada (he/him)Yeah lol17:09:24
@ckie:ckie.devckie (they/them)is your config public?17:09:44
@k0kada:matrix.orgk0kada (he/him)
In reply to @k0kada:matrix.org
I am the OTD maintainer in nixpkgs btw
Eventually InfinityGhost itself started to use NixOS
17:10:12
@k0kada:matrix.orgk0kada (he/him)So now they take cares of the bumps17:10:25
@k0kada:matrix.orgk0kada (he/him)
In reply to @k0kada:matrix.org
I am the OTD maintainer in nixpkgs btw
* Eventually InfinityGhost themself started to use NixOS
17:10:33
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
is your config public?

https://github.com/thiagokokada/nix-configs

It is not really that interesting though

17:10:48
@ckie:ckie.devckie (they/them)so many folders! :D17:11:09
@k0kada:matrix.orgk0kada (he/him)My config predates my knowledge of modules17:11:19
@k0kada:matrix.orgk0kada (he/him)So most things are not organized in proper modules17:11:31
@ckie:ckie.devckie (they/them) at one point when i found out i dumped everything into a legacy folder and made everything modules until it worked again 17:11:47
@k0kada:matrix.orgk0kada (he/him)And so my config is a huge mess of conditional imports everywhere17:11:57
@ckie:ckie.devckie (they/them)i see a convert-everything-to-module 17:12:19

Show newer messages


Back to Room ListRoom Version: 9