!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
3 Apr 2023
@peddie:matrix.org@peddie:matrix.org joined the room.17:35:14
@ulli:hrnz.li@ulli:hrnz.li joined the room.17:57:55
@javbit:matrix.orgjavbit joined the room.21:14:00
4 Apr 2023
@artturin:matrix.orgartturinhttps://github.com/NixOS/nixpkgs/pull/22467015:35:41
5 Apr 2023
@noob_tea:matrix.orgtea joined the room.08:08:42
@noob_tea:matrix.orgtea My derivation sometimes fails to build because an unknown factor causes a hash change.
If I build with --keep-failed, it does keep the directory of the build, but not the thing (a targz) in $out, which is the thing that fails.
08:11:04
@noob_tea:matrix.orgtea *

My derivation sometimes fails to build because an unknown factor causes a hash change.
If I build with --keep-failed, it does keep the directory of the build, but not the thing (a targz) in $out, which is the thing that has a mismatching hash.

The problem is that the hash changes very frequently and sometimes I cannot get there fast enough to change to the current "correct" hash

08:11:44
@noob_tea:matrix.orgteaIs there a way to get $out ignoring the hash mismatch?08:11:54
@mon:tchncs.deribosomerocker joined the room.08:14:20
@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
@noob_tea:matrix.orgteawhich is kept by --keep-failed08:27:40
@raboof:matrix.orgraboof yeah or printing find $out | xargs md5sum in the postFixup might put enough useful information in the build logs 08:29:17
@raboof:matrix.orgraboof or find /path/to/tarball/inputs :) 08:30:29
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their profile picture.12:30:20
@baloo_:matrix.orgbaloo set the room topic to " https://reproducible.nixos.org".14:38:43
@baloo_:matrix.orgbaloo changed the room topic to "Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30" from " https://reproducible.nixos.org".14:39:34
6 Apr 2023
@arianvp:matrix.org@arianvp:matrix.orgWould like to bring to your attention that the CFP for https://all-systems-go.io/ is open. Would love to submissions in the reproducible builds category from NixOS!08:54:42
7 Apr 2023
@b:chreekat.netchreekat changed their display name from chreekat to chreekat (afk).08:53:56
@amigdal:matrix.mit.eduArthur joined the room.19:16:15
8 Apr 2023
@raboof:matrix.orgraboof tea: did you see https://discourse.nixos.org/t/reproducibility-checking-with-new-cli-and-fixed-output-derivations/27053 ? 04:42:45
9 Apr 2023
@wiryfuture:matrix.org@wiryfuture:matrix.org joined the room.10:47:04

Show newer messages


Back to Room ListRoom Version: 6