!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

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


SenderMessageTime
5 Apr 2023
@raboof:matrix.orgraboof in 'derivation X may not be deterministic: output Y differs from Z', Y contains the $out of the 'previous' build and Z contains the $out of the 'fresh' build. Is it possible to share the problematic derivation? 08:14:51
@noob_tea:matrix.orgteaBut I cannot get it to build correctly, because the hash seems to change like every second08:15:49
@noob_tea:matrix.orgteait is a FOD08:18:02
@raboof:matrix.orgraboof that's the hash of something that is used in the derivation, I guess, right? like in fetchurl or something? or in some other fixed-output derivation? 08:18:04
@raboof:matrix.orgraboof it sounds like the FOD is not the derivation you're nix-building, but a dependency of the derivation you're nix-building. If you nix show-derivation, you might be able to spot the FOD in the inputDrvs and build it independently? 08:20:09
@noob_tea:matrix.orgteaI am building it independently.08:20:45
@noob_tea:matrix.orgteathe full story is i am a flutter maintainer and the new flutter version broke our flutter.mkFlutterApp automation. mkFlutterApp has a deps FOD, to fetch app deps using its own package manager, which is now not reproducible anymore. The hash of any deps derivation is now changing very rapidly and I'd want to fix it.08:23:01
@raboof:matrix.orgraboofhmm, gotcha, I didn't realize FOD's fail so early, that indeed makes it tricky08:26:22
@mglolenstine:matrix.orgMGlolenstine joined the room.08:27:18
@noob_tea:matrix.orgteaI guess for now i am going to make the tarball not output to $out but a local file 08:27:36

Show newer messages


Back to Room ListRoom Version: 6