| 12 Aug 2021 |
@timdeh:matrix.org | But we shouldn't try to force everything Nix into it or we risk losing expressive power | 23:28:34 |
@d4hines:matrix.org | Right. That's why I really like DevShell, because it wraps up the simple stuff in a TOML file with arbitrary nix expressions as an escape hatch. | 23:29:10 |
@timdeh:matrix.org | plus if there was no builtins.fromTOML there would only be builtins.fromJSON 😆 | 23:29:26 |
@timdeh:matrix.org | It's nice to have a human readable/writable format to quickly import from | 23:29:43 |
@d4hines:matrix.org | In reply to @timdeh:matrix.org It's nice to have a human readable/writable format to quickly import from The implication being nix expressions are not some human read/writeable... | 23:30:14 |
@d4hines:matrix.org | In reply to @timdeh:matrix.org It's nice to have a human readable/writable format to quickly import from * The implication being nix expressions are not so human read/writeable... | 23:30:21 |
ultranix | wrapping the stuff is what makes it more difficult for me, because then i got to go understand a bunch of abstraction code to understand nix. its better to just not tackle nix from nothing and RTFM, almost unavoidable | 23:30:56 |
@timdeh:matrix.org | In reply to @d4hines:matrix.org Right. That's why I really like DevShell, because it wraps up the simple stuff in a TOML file with arbitrary nix expressions as an escape hatch. yes devshell is probably my favorite nix proect | 23:30:58 |
@timdeh:matrix.org | I feel like NixOS missed a juge opportunity by coupling the module system so closing with systemd 😥 | 23:31:19 |
@timdeh:matrix.org | for compliant containerization I mean | 23:31:27 |
@timdeh:matrix.org | then devshell could be a container | 23:31:31 |
ultranix | In reply to @timdeh:matrix.org I feel like NixOS missed a juge opportunity by coupling the module system so closing with systemd 😥 oh yeah, for sure | 23:31:40 |
ultranix | but its also easier to support the one | 23:31:55 |
@timdeh:matrix.org | * I feel like NixOS missed a huge opportunity by coupling the module system so closing with systemd 😥 | 23:31:59 |
@timdeh:matrix.org | yeah but a man can dream 😅 | 23:32:14 |
@kraftnix:matrix.org | i have had to learn way too much about systemd in the last year, and i'm not the biggest fan overall (the docs are awful), but it gives you a lot. | 23:32:33 |
@d4hines:matrix.org | I kind of wonder if one could build a Nix derivation monad (I'm assuming it's a monad but I'm not schooled in it yet) in Typescript - instant, unparalleled developer tools. | 23:32:42 |
@d4hines:matrix.org | Gradual typing, language server, huge ecosystem of libraries. | 23:33:08 |
@d4hines:matrix.org | I wonder why edolstra is working on Nickel from scratch and not in another lang with gradual types. | 23:34:01 |
@timdeh:matrix.org | Indeed. I think if something like dhall could relax it's typing, perhaps only under certain conditions, it would actually be ideal. Since alot of the hard to debug infinite recursion errors would just be impossible | 23:34:51 |
ultranix | now that flakes have become easy enough for me, next understandings will be for the CAS derivations | 23:35:52 |
@timdeh:matrix.org | Yes. I'm just waiting for the caches to build up a bit so everything is so daunting | 23:37:14 |
@timdeh:matrix.org | * Yes. I'm just waiting for the caches to build up a bit so everything isn't so daunting. In terms of build times I mean | 23:37:31 |
@timdeh:matrix.org | fortunately, with RFC 96, we have a solid plan to introduce experimental features by default in a given binary, so we could get CAS to a point of readiness, and then build a binary for it. And then, when it's easily distributable, the caches will increase exponentially | 23:38:23 |
@timdeh:matrix.org | I also think Trustix and Cache would be a damn near perfect software distribution system, so I've purchased a lot of disk space and vps, and now I just need to find the time 🤣 | 23:46:27 |
@timdeh:matrix.org | * I also think Trustix and CAS would be a damn near perfect software distribution system, so I've purchased a lot of disk space and vps, and now I just need to find the time 🤣 | 23:47:07 |
@kraftnix:matrix.org | Trustix sounds so great to me as well, I have a build machine and lots of disk so when I get around to it (and hopefully when someone documents a setup to make it easier for me) I will definitely run a trustix cache | 23:47:43 |
@kraftnix:matrix.org | It really does solve one of the main issues I have with binary cache approaches, trust. | 23:48:32 |
@timdeh:matrix.org | well said 😃 | 23:49:49 |
@kraftnix:matrix.org | cross validation on builds + distributed storage/sharing, trustix + ipfs/ca filestores can't come fast enough :) | 23:50:34 |