!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

900 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
31 Mar 2025
@Ericson2314:matrix.orgJohn Ericsonthe latter can just be fixed, and then it's good, the former is what needs time to incubate21:14:02
@emilazy:matrix.orgemily
In reply to @Ericson2314:matrix.org
I depsartely need to eat in a moment, but also, what exactly do you (and anyone else) imagine the split package is going to break?
overrides are the big one, esp for patches. and yes, the output shimming seems brittle to me, e.g. I am not sure it works with ^ or the like? the other thing is that the support code is complicated beyond any other non-compiler package set I've seen, but maybe devendoring will help that
21:14:13
@emilazy:matrix.orgemilyis it really so unreasonable to want to see one uneventful early-cycle Nix bump before we start doing them in the lead up to release coupled with breaking package rewrites?21:15:20
@emilazy:matrix.orgemilyeven 2.24 took a couple tries to stick21:15:30
@emilazy:matrix.orgemilyand I advocated for that bump21:15:37
@emilazy:matrix.orgemilybecause I don't think the drift is good for the projects21:15:49
@emilazy:matrix.orgemilybut the only way to solve the root cause is proactive communication and prioritization of Nixpkgs' needs and concerns for a critical component21:16:19
@Ericson2314:matrix.orgJohn EricsonUltimately I will prioritize a good healthy working relationship over not delaying the split package 6 months more21:17:05
@Ericson2314:matrix.orgJohn Ericsonbut please ask yourself21:17:08
@Ericson2314:matrix.orgJohn Ericsonthe list of things above21:17:12
@Ericson2314:matrix.orgJohn Ericsonit looks entirely like static known issues to me21:17:23
@Ericson2314:matrix.orgJohn EricsonI am a bit scared for 2.28 right now, yes, because that is where unknown-unknowns come from21:17:39
@Ericson2314:matrix.orgJohn Ericsonbut you already proposed we do just that (and monopackage)21:17:53
@emilazy:matrix.orgemilynothing blocks shipping a patching mechanism that works with both packagings in 25.06 and backporting to 24.11, right?21:18:00
@Ericson2314:matrix.orgJohn Ericsonthe marginial cost of the split package feels very low to me21:18:09
@emilazy:matrix.orgemilyin which case we would be free to break the old way in 25.1121:18:14
@Ericson2314:matrix.orgJohn Ericsonbecause we can simply test all the things you mentioned right away21:18:20
@Ericson2314:matrix.orgJohn Ericsonthere aren't really latant issues21:18:24
@Ericson2314:matrix.orgJohn Ericsonyou mean a patching mechanism that works with split and unsplit packages?21:19:26
@Ericson2314:matrix.orgJohn EricsonI am not sure, probably not21:19:31
@emilazy:matrix.orgemilyhow people consume our packages is a tragic unknown. though of course we always have to draw a line somewhere but look at how breaking changes to lib are handled for how our caution should increase as the criticality does21:19:36
@emilazy:matrix.orgemilyand again if we were keeping packaging constant but bumping version or vice versa (not possible in this case, I know), there would still be concerns but of lower magnitude21:20:18
@Ericson2314:matrix.orgJohn EricsonI'm thinking about it21:28:38
@Ericson2314:matrix.orgJohn Ericson(but I also walked out to eat)21:34:03
@trofi:matrix.orgtrofi I wonder what it would look like if every single nixpkgs package had their own unique helper to apply patches and change depends :) 21:35:47
@roberthensing:matrix.orgRobert Hensing (roberth)it's a package set21:49:10
@roberthensing:matrix.orgRobert Hensing (roberth)actually I think it would be great, because we'd settle on a standard interface for doing just those things and nothing else, and we'll finally have an interface boundary21:49:57
@roberthensing:matrix.orgRobert Hensing (roberth)overriding arbitrary internals would be frowned upon, because that is not a testable or maintainable interface. Instead, users would contribute functions, tests, and documentation to support their use cases instead of trying to work around the unpredictable internal changes in packages. It'd be glorious21:53:02
@raitobezarius:matrix.orgraitobezarius
In reply to @elvishjerricco:matrix.org
raitobezarius: I would like to know an example I could use to verify whether or not Nix actually has the problem you describe.
nix-eval-jobs with nix 2.X and 2.Y the entirety of nixpkgs and then compare the outPath?
21:59:36
@llakala:matrix.orgllakala
In reply to @trofi:matrix.org
I wonder what it would look like if every single nixpkgs package had their own unique helper to apply patches and change depends :)
applyPatches does this in some sense, but with IFD...
22:00:14

Show newer messages


Back to Room ListRoom Version: 6