Lix | 1113 Members | |
| Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms | 300 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 May 2024 | ||
| I think most of the features of a binary cache should be in a Nix implementation | 19:14:47 | |
| And then you can carve out various frontends / slight customizations on the top of it IMHO | 19:15:13 | |
In reply to @raitobezarius:matrix.orgonly if you want your storage and your logic to be the same thing tho | 19:15:37 | |
| Ideally, I'd like to see a way to expose any store as a binary cache in frictionless way | 19:15:40 | |
In reply to @danielle:fairydust.spaceYour logic can be added on the top IMHO | 19:16:10 | |
| Like if you want authnz, auth, etc. There should be a way to compose existing tools? | 19:16:27 | |
| technically a binary cache can take multiple forms; at least one of them should be built in to Nix | 19:16:43 | |
| (generally, I'd like to see the concept of cache combinators) | 19:16:44 | |
| If there is anything people can do to help that are not part of the core team, please let us know. | 19:19:50 | |
| to expand on my thoughts, indeed, binary cache means so many things, I think what would be interesting is:
| 19:20:41 | |
obviously, you can run a S3 binary cache without nix being around | 19:21:04 | |
In reply to @samrose:matrix.orgI recommend looking at https://git.lix.systems/lix-project/lix/issues?q=&type=all&state=open&labels=154&milestone=0&assignee=0&poster=0 | 19:21:28 | |
In reply to @samrose:matrix.organyone is welcome to contribute! we have a meeting being planned to work out proper governance structure Soon™️ so the "core team" at least as it is right now is largely an interim construct. identifying issues, writing docs or editing the wiki, or code contributions themselves are all very very welcome. on the flip side please let us know if there's anything we can do to help onboard! | 19:22:26 | |
In reply to @raitobezarius:matrix.org(and maybe let me add that i'd like it to be easy to make super-stores by composing a list of stores with any URI format) | 19:22:28 | |
| 19:38:17 | ||
In reply to @raitobezarius:matrix.org this is sort of what the tvix approach is, right? the store should be a defined component with its own semantics and a clear interface, at which point a lot of other stuff can be implemented on top of this rather than through the current monolithic Nix binary application (e.g. binary caching, the build tool, various bits of UI on top of the store) | 19:42:33 | |
| correct | 19:57:44 | |
| 20:01:59 | ||
| Oh https://github.com/brianmcgee/nvix | 20:18:40 | |
In reply to @tc424:glasgow.socialLinked from https://bmcgee.ie/posts/2023/10/nvix-implementing-a-tvix-store-with-nats/ | 20:20:49 | |
In reply to @delroth:delroth.netThat’s partially why I was asking, but no answer is good enough as an answer for me now then. I’ll keep watching :) | 20:53:03 | |
| 21:26:26 | ||
In reply to @tc424:glasgow.socialThis looks pretty amazing ... | 21:30:20 | |
| 21:56:14 | ||
| 22:38:44 | ||
i just rebuilt with nix.package = pkgs.lix now that it's in nixpkgs and everything seems to work, is there any reason not to do this? | 22:43:16 | |
| The version of Lix in nixpkgs will likely lag behind by a bit; and the dedicated overlay/module will build other packages that depend on Nix with Lix as well; which doesn't happen in nixpkgs. | 22:45:37 | |
| 22:46:02 | ||
In reply to @easrng:yuri.imthis is what i'm doing too | 22:46:34 | |
In reply to @puck:puck.moeIf we nix build on the flake in the source repo this overlay/module and the packages it builds will be part of the build then, is that right? | 23:08:40 | |