| 17 Jul 2023 |
infinisil | Yeah, that's gonna be really hard though, there's third-party products being built daily on top of experimental flakes without any care in the world (if only that kind of effort went into flakes stabilisation) | 18:27:48 |
infinisil | I really like John Ericson's suggestions for what Nix should become here: https://github.com/NixOS/rfcs/pull/136#discussion_r1246035453 | 18:29:15 |
John Ericson | :) | 18:29:50 |
John Ericson | I get that flakes have driven a lot of new usage, but that is just because everything else was so unpolished | 18:30:11 |
John Ericson | the bar was so low | 18:30:15 |
John Ericson | Flakes are a "fast food" that kinda tastes good to start but ultimately fails to truly solve any problems | 18:30:45 |
John Ericson | We have to believe the choices are not just "Flakes" or "unpolished unusuable to non-experts" | 18:31:32 |
asymmetric | In reply to @infinisil:matrix.org This would also set a precedent that the docs team will document whatever ill-designed and barely-documented feature gets merged into Nix I agree with most of your other points, but this precedent has definitely already been set by stable nix+nixpkgs, at least the part about us having to ex post document barely-documented stuff | 18:32:23 |
infinisil | We can't deny that Flakes does solve some problems. Though it also introduces a whole bunch of new problems along the way, problems which shouldn't be necessary | 18:32:36 |
infinisil | In reply to @asymmetric:matrix.dapp.org.uk I agree with most of your other points, but this precedent has definitely already been set by stable nix+nixpkgs, at least the part about us having to ex post document barely-documented stuff Hehe fair enough, would like to get away from that though :P | 18:33:17 |
asymmetric | In reply to @Ericson2314:matrix.org Flakes are a "fast food" that kinda tastes good to start but ultimately fails to truly solve any problems i think this is subjective. i really like flakes and for my usecases, they have almost completely replaced the stable tooling. but the other problems still stand, and it is factually still experimental, so I think we should focus on that, rather than value judgements | 18:33:32 |
asymmetric | In reply to @Ericson2314:matrix.org Flakes are a "fast food" that kinda tastes good to start but ultimately fails to truly solve any problems * i think this is subjective. i really like flakes and for my usecases, they have almost completely replaced the stable tooling. but the other problems still stand (missing feature parity), and it is factually still experimental, so I think we should focus on that, rather than value judgements | 18:33:50 |
asymmetric | * i think this is subjective. i really like flakes and for my usecases, they have almost completely replaced the stable tooling. but the other problems still stand (e.g. missing feature parity), and it is factually still experimental, so I think we should focus on that, rather than value judgements | 18:34:42 |
John Ericson | opinions are somewhat inevitable for writing tutorials not reference docs | 18:35:06 |
John Ericson | the fact here is that flakes are unstable and unstable has to mean something | 18:35:23 |
John Ericson | Flakes creating problems as fast as they solve problems I suppose could be an opinion | 18:36:18 |
John Ericson | but we can focus on the above an ignore that | 18:36:24 |
John Ericson | if we want to stick to "facts" and avoid "opinions" | 18:36:40 |
asymmetric | In reply to @Ericson2314:matrix.org the fact here is that flakes are unstable and unstable has to mean something yeah fully agreed on that. which i think is why we decided to draw the line there for nix.dev 🙂 | 18:36:42 |
John Ericson | :) | 18:36:50 |
John Ericson | <3 | 18:36:55 |
asymmetric | the corollary is that once they're stabilized, we should imo just go ahead and document them on nix.dev, even though some of us will still disagree with them on a design level | 18:37:53 |
asymmetric | * the corollary is that once (if!) they're stabilized, we should imo just go ahead and document them on nix.dev, even though some of us will still disagree with them on a design level | 18:38:17 |
@brian:bmcgee.ie | In reply to @infinisil:matrix.org I really like John Ericson's suggestions for what Nix should become here: https://github.com/NixOS/rfcs/pull/136#discussion_r1246035453 I like the idea of a stripped down nix core with things like flakes becoming a different frontend. | 18:38:39 |
@brian:bmcgee.ie | It would allow for faster iteration in different areas too since you've broken out the use cases. Getting the core right is gonna be the tricky part | 18:42:09 |
infinisil | I have an RFC draft that if accepted would be a really big step towards that | 18:43:30 |
@brian:bmcgee.ie | Link please | 18:44:04 |
@brian:bmcgee.ie | If it's up sonewhere | 18:44:21 |
@brian:bmcgee.ie | * If it's up somewhere | 18:44:28 |
infinisil | It's really draft right now, but because I don't have a lot of time to work on it right now I'm sharing it in the hopes of others being able to help out with it, PR's and issues appreciated: https://github.com/tweag/epcb | 18:44:28 |