!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
4 May 2023
@baloo_:matrix.orgbaloofor all the talks about purity and what not20:48:13
@raitobezarius:matrix.orgraitobezariusafaik it's a very complicated and non actionable problem20:48:38
@raitobezarius:matrix.orgraitobezariusmaybe I'm soft for Haskell but I am not really concerned about it, the existing workaround is to build with 1 core20:49:02
@baloo_:matrix.orgbaloolast time I've checked, that was fixed in recent version of ghc but not the whole ecosystem was compatible20:49:49
@baloo_:matrix.orgbalooor at least, the few leads I followed were leading to me fixes made in 9.X (don't remember which version that was)20:50:38
@artturin:matrix.orgartturinhttps://github.com/NixOS/nixpkgs/issues/15134720:52:12
@baloo_:matrix.orgbalooshit my own commit :D20:52:36
@baloo_:matrix.orgbaloo * shit my own comment :D20:52:40
@artturin:matrix.orgartturinthe issue is still open20:52:49
@artturin:matrix.orgartturin * the ghc issue is still open20:52:55
@baloo_:matrix.orgbaloohttps://gitlab.haskell.org/ghc/ghc/-/merge_requests/7353 that was the commit I had in mind20:53:28
@baloo_:matrix.orgbaloowhich merged in ghc 9.4.120:53:54
@baloo_:matrix.orgbalooin any case, raboof seems like he tried.20:55:33
@baloo_:matrix.orgbaloo * in any case, raboof says he tried.20:55:47
5 May 2023
@raboof:matrix.orgraboofhttps://reproducible.nixos.org/nixos-iso-gnome-runtime/ <- gnome runtime report 🎉. No haskell it seems, though plenty of other goodies ;)16:28:11
@raboof:matrix.orgraboof
In reply to @artturin:matrix.org
http://reproducible.nixos.org/ doesn't redirect to https
fixed!
16:28:59
@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
@raboof:matrix.orgraboofFor the ISO's there is a nice final check of actually rebuilding the iso on an ancient nixos version without substituters 😃. 20:24:50

Show newer messages


Back to Room ListRoom Version: 6