!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

550 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30128 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
5 May 2023
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu

xserver.conf

I think this is due to find order being essentially undefined behavior in nixos/modules/services/x11/xserver.nix. it needs a | sort to be deterministic.

16:55:05
@trofi:matrix.org@trofi:matrix.org Yeah. I think find does filesystem order (and each does it's own ordering). 16:57:48
@delroth:delroth.netdelroth
In reply to @raboof:matrix.org
finally hacked in a way to get a report of just the runtime dependencies, https://reproducible.nixos.org/nixos-iso-minimal-runtime/ - no surprises there, the Linux BPF/BTF problem and Python remaining. Hoping to do the graphical iso later.
I worry a bit that this might be trading off false positives for false negatives. Let's say I have a derivation "drv" which does "cp ${otherdrv}/foo $out/foo" (unlikely, but in practice this could be e.g. gzip, or static linking, or some other kind of bundling). As far as I understand now the report wouldn't catch unreproducibility of "otherdrv", and it would happily say that "drv" is reproducible, which is irrelevant (since its "non-runtime dependencies" are what matters).
20:11:29
@delroth:delroth.netdelroth(Does that happen in practice in nixpkgs? I don't know, I wouldn't be surprised if it did. Is it a major issue? No clue either.)20:11:54
@raitobezarius:matrix.orgraitobezarius(Yes, it happens through trivial builders sometimes I suppose)20:15:21
@raitobezarius:matrix.orgraitobezarius(Though I'm okay if we keep both pieces ?)20:15:33
@delroth:delroth.netdelrothBy "both pieces" here do you mean "both types of report, runtime-only and all"? As long as people understand that the "runtime dependencies" report actually might exclude some runtime dependencies, then sure :)20:20:40
@delroth:delroth.netdelroth * By "both pieces" here do you mean "both types of report, runtime-only and all"? As long as people understand that the "runtime dependencies" report actually might accidentally miss some unreproducible runtime dependencies, then sure :)20:21:31
@raitobezarius:matrix.orgraitobezariuscorrect20:21:38
@raitobezarius:matrix.orgraitobezariusI guess we can probably engineer correctly the pages to reflect that20:21:51
@delroth:delroth.netdelrothI have experience with teams accidentally carving out a metric that doesn't actually cover the whole problem they want to solve, get the metric to the desired goal, then declare victory too early :) it's a pretty common pattern20:22:25
@delroth:delroth.netdelrothI actually wonder how the diff would look like between this definition of "runtime dependencies" and the definition of "runtime dependencies" you'd get by doing a cross-build of the same target and filtering by build vs. host system triple20:23:43
@delroth:delroth.netdelrothI suspect "different", but I don't know in which direction (better or worse), and I don't think it's practical or a useful metric either because it's not like the ISOs being shipped are built this way20:24:26

Show newer messages


Back to Room ListRoom Version: 6