!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
8 Feb 2025
@raboof:matrix.orgraboofI agree that would be good! I've been focusing on https://github.com/JulienMalka/lila (which should replace those reports eventually) and some upstream work - but happy to take PRs?21:31:32
@pyrox:pyrox.devdish [Fox/It/She]I'll see if I can, yeah21:37:16
@pyrox:pyrox.devdish [Fox/It/She]running a build now(on my laptop 🥴)22:17:36
9 Feb 2025
@pyrox:pyrox.devdish [Fox/It/She]regenerated the minimal ISO reports(https://github.com/NixOS/reproducible.nixos.org/pull/7)15:59:41
@pyrox:pyrox.devdish [Fox/It/She]haven't regenerated the GNOME reports(idk if I will, the minimal ISO reports took like an entire day to generate) but these should be helpful16:00:25
@raboof:matrix.orgraboofthanks, merged!21:49:01
@tired:fairydust.space@tired:fairydust.space left the room.22:50:19
10 Feb 2025
@raboof:matrix.orgraboofcreated issues for the failures affecting the runtime closure of the minimal iso, https://github.com/NixOS/nixpkgs/issues/380852 https://github.com/NixOS/nixpkgs/issues/380854 and https://github.com/NixOS/nixpkgs/issues/38085610:08:30
11 Feb 2025
@pveierland:matrix.orgpveierlandIs reproducible compression a topic? Can any popular algorithms be configured to be reproducible?12:05:18
@r522:matrix.org@r522:matrix.org

there's discussion of this over at https://github.com/facebook/zstd/issues/2949 for zstd

zstd is deterministic... given the same version
which for the sake of reproducible builds isn't an issue, you can just use the older version

12:43:47
@pveierland:matrix.orgpveierlandInteresting, thank you!12:46:01
@r522:matrix.org@r522:matrix.org

reproducible across all versions is quite a niche requirement, especially since that means you can't ever make the compression more efficient space-wise

for that i guess you'd just pick a given zstd(or other library) version and fork it, applying changes as needed, but having tests that ensure you never break reproducability

12:47:57
@pveierland:matrix.orgpveierlandIt does sound a bit fickle. Seems like a case similar to e.g. the NAR format where it would make sense to make a dedicated reproducible compression format (even if it's just a fork of an existing algorithm with frozen parameters)12:50:09
@pveierland:matrix.orgpveierlandGood to know that it should be possible out-of-the box with zstd 👍️12:50:34
@r522:matrix.org@r522:matrix.org that being said: unless you're doing encryption, you could define hashes to be over the uncompressed content 13:26:44
@pveierland:matrix.orgpveierlandIt was just something I was thinking about since I was doing some stuff with binary build caches. E.g. nix binary caches sets the file name of a compressed NAR based on the file hash of the compressed NAR, meaning that when the compression is not reproducible, you cannot directly infer the location of the data, but need to depend on metadata13:38:30
@mschwaig:matrix.orgMartin Schwaighofer
In reply to @pveierland:matrix.org
It was just something I was thinking about since I was doing some stuff with binary build caches. E.g. nix binary caches sets the file name of a compressed NAR based on the file hash of the compressed NAR, meaning that when the compression is not reproducible, you cannot directly infer the location of the data, but need to depend on metadata

If you want to associate a computation with its outcome, but not run the computation yourself, you always need to rely on some metadata for that association.

That's not only true for the kind of compression you describe, but also for the build steps themselves, even with content-addressed derivations in Nix.

14:13:40
@lunchtime:envs.net@lunchtime:envs.net left the room.19:07:32
12 Feb 2025
@pveierland:matrix.orgpveierland
In reply to @mschwaig:matrix.org

If you want to associate a computation with its outcome, but not run the computation yourself, you always need to rely on some metadata for that association.

That's not only true for the kind of compression you describe, but also for the build steps themselves, even with content-addressed derivations in Nix.

It does seem to change certain thing however, as e.g. binary caches now store NARs with file names based on the hash of the compressed NAR, as the contents of the stored file will be different based on the compression used. If a deterministic compression was used, different caches would store the same files for the same payload data, making it possible to have consistent file names and contents, which could simplify some syncing and lookups
02:33:11
@arcayr:mischief.expertarcayr joined the room.02:51:06
@kira:jakira.spaceKira changed their display name from kira to Kira.19:59:43
15 Feb 2025
@benjb83:matrix.orgBenjB83 joined the room.10:19:15
@benjb83:matrix.orgBenjB83 changed their display name from Benjamín Buske to BenjB83.10:43:11
21 Feb 2025
@shd:matrix.orgshd joined the room.17:51:01
23 Feb 2025
@ethancedwards8:matrix.orgethancedwards8 joined the room.03:07:46
@gmodena:matrix.orggmodena joined the room.10:18:31
@dont.wanna.tell:matrix.orgMartin Häcker joined the room.16:40:40
27 Feb 2025
@wjjunyor:matrix.orgw changed their display name from w to w - out for 🚬.18:34:28
@wjjunyor:matrix.orgw changed their display name from w - out for 🚬 to w.19:25:49
3 Mar 2025
@kenmacd:matrix.org@kenmacd:matrix.org left the room.17:58:51

Show newer messages


Back to Room ListRoom Version: 6