!9IQChSjwSHXPPWTa:lix.systems

Lix

1127 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-rooms305 Servers

Load older messages


SenderMessageTime
14 May 2024
@puck:puck.moepuck* okay, nothing specal then; should be able to figure it out with that14:15:17
@samrose:matrix.orgsamrose
In reply to @k900:0upti.me
You can probably copy something from the original RFC
I'll try it sometime soon and let you know if that helps
14:18:38
@qyriad:katesiria.orgQyriad 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
@lunaphied:lunaphied.meLunaphied 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
@lunaphied:lunaphied.meLunaphied The original RFC doesn't have any working examples and the only known examples that do exist don't work for multiple reasons. I've made some demos in the past but they just demonstrate it not working. Your best bet is the tests for them pre reverting that commit  14:23:53
@myacite:matrix.orgmyacite changed their profile picture.14:24:36
@lunaphied:lunaphied.meLunaphied Beyond that some serious discussion needs to be had with the original implementer because despite the RFC, no defined partial model for this implementation of dynamic derivations was ever communicated  14:25:21
@lunaphied:lunaphied.meLunaphied * Beyond that some serious discussion needs to be had with the original implementer because despite the RFC, no defined practical use for this implementation of dynamic derivations was ever communicated  14:25:43
@samrose:matrix.orgsamrosethere was something that people were trying to accomplish inside of the company where that rfc originated from, related to just being able trying to automate around nix and make it "easier" to use by just dropping nix expression into the path, and maybe they thought that this might be interesting to other people, but was not a complete solution for dyndrv in nix (disclaimer again: I worked at that company during that time)14:26:01
@lunaphied:lunaphied.meLunaphied Ah 14:26:15
@lunaphied:lunaphied.meLunaphied I wondered why it seemed so half baked given that RFC literally doesn't discuss how it'd be practically useful at all 14:26:38
@samrose:matrix.orgsamrosesoemthing like that anyway :)14:26:41
@lunaphied:lunaphied.meLunaphied If you imagine it working with recursive Nix you could just... use that, as it would do everything you needed basically.  14:27:03
@qyriad:katesiria.orgQyriad
In reply to @lunaphied:lunaphied.me
I wondered why it seemed so half baked given that RFC literally doesn't discuss how it'd be practically useful at all
the talk at nixcon does
14:27:07
@lunaphied:lunaphied.meLunaphied Nope 14:27:11
@qyriad:katesiria.orgQyriad it… doesn't? 14:27:23
@lunaphied:lunaphied.meLunaphied It discusses it informally but not relating to the actual implementation  14:27:35
@qyriad:katesiria.orgQyriad ah 14:27:42
@lunaphied:lunaphied.meLunaphied It's also a very short talk  14:27:44
@lunaphied:lunaphied.meLunaphied Just an overview of the idea generically  14:27:52
@samrose:matrix.orgsamroseprobably if someone is working on this in Lix, you could consider the ideas in that RFC, but you might end up coming up with something that does what you need, and may or may not use the approach in that rfc since it maybe only addresses part of the problem 14:28:53
@samrose:matrix.orgsamroseIMHO14:28:57
@lunaphied:lunaphied.meLunaphied I think it addresses enough to have some value; it's just not clear that other existing limitations (such as how quickly things can be added to the store) don't compromise its use. also the bug that required disabling basically the entire implementation still needs fixing  14:30:01
@samrose:matrix.orgsamroseI defer to you, because despite what I said above, you likely know much more than I on the topic 14:30:45
@samrose:matrix.orgsamrosebut I will be interested to see what evolves in lix in any case around this stuff14:31:25
@lunaphied:lunaphied.meLunaphied We look forward to figuring out a more useful implementation that actually has like. Examples. lol 14:32:11
@raitobezarius:matrix.orgraitobezariusI actually have pseudo usecases of dyndrvs15:37:32
@raitobezarius:matrix.orgraitobezariusBut I don't know if they work with current implementation15:37:42
@raitobezarius:matrix.orgraitobezariusMy biggest interest is computing the rebuild closure for a package15:37:56
@raitobezarius:matrix.orgraitobezariusSo that you don't include aimlessly all the build dependencies you find and 2x your system closure15:38:14

Show newer messages


Back to Room ListRoom Version: 10