!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
15 Sep 2021
@baloo_:matrix.orgbalooi mean01:02:32
@baloo_:matrix.orgbaloosure01:02:33
@baloo_:matrix.orgbaloostill trying to manage my frustration here :)01:03:10
@Las:matrix.org@Las:matrix.org joined the room.20:46:38
17 Sep 2021
@geowy:matrix.org@geowy:matrix.org joined the room.11:26:27
18 Sep 2021
@geowy:matrix.org@geowy:matrix.org left the room.00:09:46
19 Sep 2021
@artturin:matrix.orgArtturin changed their display name from artturin to Artturin.04:46:52
@shadowninja55:matrix.org@shadowninja55:matrix.org left the room.13:05:48
22 Sep 2021
@bew:matrix.org@bew:matrix.org joined the room.22:24:11
@bew:matrix.org@bew:matrix.org

Hello, I'm reading https://github.com/wmertens/rfcs/blob/master/rfcs/0017-intensional-store.md and there's something I don't understand:
In the part A note about reproducibility, it says:

There is no need for a given $out to always generate the same $cas. [...] There is no obligation that a single $out only stores a single $cas entry.

22:26:23
@bew:matrix.org@bew:matrix.orgHow is that possible?22:26:33
@bew:matrix.org@bew:matrix.orgHow can a single $out generate multiple $cas ?22:27:35
@bew:matrix.org@bew:matrix.org(if there's a better room for this question, please tell me 🙏)22:28:07
@tomberek:matrix.orgtomberek bew: Basically that is saying that the builds don't have to be reproducible for the intentional store to work. (of course it helps) 23:07:25
@tomberek:matrix.orgtomberekYou and I can build the same $out, but get different $cas's. This isn't ideal, but that's why there is a mapping from 1 $out to possible multiple $cas's.23:09:12
23 Sep 2021
@afontain:gnugen.chafontainwhat's $cas ?10:14:18
@afontain:gnugen.chafontainor is it $cas's ?10:14:31
@timdeh:matrix.org@timdeh:matrix.orgContent Addressed Store14:16:22
@timdeh:matrix.org@timdeh:matrix.org tl;dr: It's an experimental feature which places packages in the nix/store based on a hash of their output rather than their input 14:16:51
24 Sep 2021
@afontain:gnugen.chafontainok, thanks15:31:36
25 Sep 2021
@trofi:matrix.org@trofi:matrix.org joined the room.08:28:33
26 Sep 2021
@lyderichti59:matrix.orglyderichti59 joined the room.13:13:22
27 Sep 2021
@yusdacra:nixos.devdusk changed their profile picture.19:50:42
29 Sep 2021
@j-k:matrix.orgj-kin a non-nix context on your typical distro is it possible to have a reproducible binary that has dynamic links? For achieving that reproducability I guess it'd be safest/easiest to use a statically linked gcc? If you're not using a statically linked gcc I guess you would need to keep track of your gcc version and glibc version?11:25:10
@andi:kack.itandi-It is possible. The closure might not be entirely reproducible if you are running e.g. Distro verison A but try to reproduce version B. The binary might be the same but e.g. the dynamic linker (even thought it is at the same spot) might be different.11:44:55
@j-k:matrix.orgj-kOk cool, that's in line with what I thought. Just needed to clarify 😅11:46:57
30 Sep 2021
@robby:oconnor.ninjaRobby O'Connor joined the room.01:18:27
@matrixforever:matrix.org@matrixforever:matrix.org joined the room.02:16:18
@matrixforever:matrix.org@matrixforever:matrix.org left the room.04:38:12
@robby:oconnor.ninjaRobby O'Connor left the room.05:49:56

Show newer messages


Back to Room ListRoom Version: 6