Lix | 1131 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 | 315 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 May 2024 | ||
In reply to @k900:0upti.meI guess what I describe is more like a metadata system that can include eval and build data hydra does + data about where things are cached and doesn't have to be tied to one package set or hydra instance or whatever | 13:40:33 | |
| If you want to run that globally, there's trust issues | 13:41:17 | |
In reply to @k900:0upti.meit's not much different than architecting with any other API/service approach, really. And I agree this issue is always a factor when choosing that approach. | 13:41:44 | |
In reply to @k900:0upti.meThanks for sharing this perspective | 13:41:57 | |
In reply to @k900:0upti.meOh yes of course. | 13:42:07 | |
In reply to @k900:0upti.mewhat's an example of a dyndrv to try out on hydra? | 13:46:32 | |
| There is none in nixpkgs at least | 13:47:04 | |
| You can probably copy something from the original RFC | 13:47:11 | |
| Assuming those even build | 13:47:15 | |
| anyone else occasioally experiencing firefox freezing? cpu usage drops to 0, doesn't react to any user input | 13:50:57 | |
| (using 124.0.2, sway) | 13:52:09 | |
| * (using 124.0.2, swayfx) | 13:52:25 | |
In reply to @k900:0upti.me they may have some problems I used to work at flox from about 2022 - start of this year. Now I recall this, although I had forgotten that it was even an RFC :) I kinda feel about this how you feel about postgrest :) but for different reasons. I think maybe that RFC may need more baking in the oven to think through the impact of dynamically generating derivations. But seems like it could be a good option to turn on for very large builds if it works well (like nixpkgs, linux, etc) but to be fair he said
So I guess there are a lot of unknowns and the RFC wanted to create the experimental feature, explore how it works and evolve it. Sounds like fun anyway | 14:00:55 | |
| I am not all the way convinced dyndrvs are the solution | 14:01:42 | |
| But they are a solution and the problem they attempt to solve is becoming big for nixpkgs | 14:01:53 | |
| So I'd like to have something | 14:01:57 | |
In reply to @k900:0upti.mebut the proposition does seem to show some issues with nix, so I think you are right on that it is worth exploring | 14:02:32 | |
In reply to @k900:0upti.meprobably it can work and my guess is that it needs more exploration | 14:06:35 | |
| * | 14:09:14 | |
| oh, this is a known-ish bug, but we haven't been able to find all the sources of it | 14:09:38 | |
In reply to@puck:puck.moewas slightly worried I was going bonkers :) | 14:11:14 | |
what was your nix copy command line like? | 14:11:42 | |
In reply to @k900:0upti.meyeah you could be right about this,and it does seem like the rfc is a good start and likely this approach could be part of the solution if it's not "the" solution so I shouldn't come across personally like I am rejecting it. Lix definitely needs something like this | 14:12:16 | |
In reply to@puck:puck.moe nix copy --to "s3://muslpi?endpoint=http://aux-test.lan:3900®ion=garage" $(which armv6l-unknown-linux-musleabihf-gcc) | 14:13:19 | |
In reply to@tc424:glasgow.social nix-store -qR $(which armv6l-unknown-linux-musleabihf-gcc)output looks sane | 14:14:30 | |
| okay, nothing specal then; should be able to figure it out | 14:15:14 | |
| * okay, nothing specal then; should be able to figure it out with that | 14:15:17 | |
In reply to @k900:0upti.meI'll try it sometime soon and let you know if that helps | 14:18:38 | |
| I'm pretty sure Lunaphied tried this and determined that the implementation in Nix (and thus Lix) is not far enough for all but the most trivial cases, and even those require combining it with recursive Nix iwrc | 14:19:55 | |
| Yes; well more specifically as part of rolling back a bug it introduced, dynamic derivations don't really currently do anything because you can't build their referenced outputs lol. you can use recursive Nix to invoke the output and build it from another drv though but it's a workaround and there's no need for that approach if you already have recursive Nix | 14:22:13 | |