| 12 Sep 2022 |
ckie (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 (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 exist | 17:02:50 |
k0kada (he/him) | And it was his idea of having documentation in nix functions | 17:03:14 |
k0kada (he/him) | I never actually saw a usage of functors though | 17:03:42 |
ckie (they/them) | i am a mild functor addict | 17:04:02 |
k0kada (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 (they/them) | the exp is for experiment | 17:07:34 |
ckie (they/them) | html.nix isnt being used by anything yet | 17:07:45 |
ckie (they/them) | but yes! it has like its own framework | 17:08:04 |
k0kada (he/him) | Huh... Interesting, you commited your OTD config to the repo | 17:08:11 |
k0kada (he/him) | Maybe I should do the same | 17:08:15 |
ckie (they/them) | why do you have a tablet? | 17:08:28 |
k0kada (he/him) | Actually, maybe I should just add it to the module | 17:08:48 |
k0kada (he/him) | In reply to @ckie:ckie.dev why do you have a tablet? osu :P | 17:08:53 |
k0kada (he/him) | I am the OTD maintainer in nixpkgs btw | 17:09:01 |
ckie (they/them) | ay! | 17:09:03 |
ckie (they/them) | rsi made me quit | 17:09:05 |
ckie (they/them) | In reply to @k0kada:matrix.org I am the OTD maintainer in nixpkgs btw small world :D | 17:09:17 |
k0kada (he/him) | Yeah lol | 17:09:24 |
ckie (they/them) | is your config public? | 17:09:44 |
k0kada (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 (he/him) | So now they take cares of the bumps | 17:10:25 |
k0kada (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 (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 (they/them) | so many folders! :D | 17:11:09 |
k0kada (he/him) | My config predates my knowledge of modules | 17:11:19 |
k0kada (he/him) | So most things are not organized in proper modules | 17:11:31 |
ckie (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 (he/him) | And so my config is a huge mess of conditional imports everywhere | 17:11:57 |
ckie (they/them) | i see a convert-everything-to-module
| 17:12:19 |