!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

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


SenderMessageTime
9 Jun 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)

I just tested the naive way:

delegate void SumLambdaType (int a);

void main () {
    SumLambdaType sum0 = (a) => { print("%d\n", a + 0); };
    SumLambdaType sum1 = (a) => { print("%d\n", a + 1); };
    SumLambdaType sum2 = (a) => { print("%d\n", a + 2); };
    SumLambdaType sum3 = (a) => { print("%d\n", a + 3); };
    SumLambdaType sum4 = (a) => { print("%d\n", a + 4); };
    SumLambdaType sum5 = (a) => { print("%d\n", a + 5); };
    SumLambdaType sum6 = (a) => { print("%d\n", a + 6); };
    SumLambdaType sum7 = (a) => { print("%d\n", a + 7); };
    SumLambdaType sum8 = (a) => { print("%d\n", a + 8); };
    SumLambdaType sum9 = (a) => { print("%d\n", a + 9); };

    sum0(42);
    sum1(42);
    sum2(42);
    sum3(42);
    sum4(42);
    sum5(42);
    sum6(42);
    sum7(42);
    sum8(42);
    sum9(42);
}

Sadly that is still fully deterministic.... It might be because multiple files? not sure yet.

10:36:13
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)it might also be because inline, so names are not clear thus sorting is unreliable? Not sure yet.10:40:45
@raboof:matrix.orgraboofIIRC it was also not super easy to trigger10:50:07
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i mean, ibus triggers it10:51:28
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)the goal is to find something minimal that triggers it10:51:40
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)and this was just a naive blind guess to see if it was easy, and turns out that no it isn't10:52:00
@raboof:matrix.orgraboofright, but iirc ibus needs a fair number of rebuilds to actually hit the problem11:15:47
@fricklerhandwerk:matrix.orgfricklerhandwerkThe main chunk of work happened in 2023 here: https://github.com/NixOS/nixpkgs/pull/227914 All of this stuff works now except cross-compiling GCC to 64 bit, which should merely involve setting the right flags11:39:05
@raboof:matrix.orgraboofI'll admit it's not clear to me how all that works in practice ;) - would that allow us to create, say, a qemu disk image with only sources (and those 256b) on it that'd when 'booted' bootstrap itself to a functional shell? or is that not the idea?13:42:14
@julienmalka:matrix.orgJulienI think the assumptions are: Nix + a running kernel + those 256b allows you to build all nixpkgs13:53:23
@julienmalka:matrix.orgJulienObviously the assumptions are broken at multiple places in nixpkgs when other binary blobs are downloaded13:53:50
@emilazy:matrix.orgemilyin particular I believe the goal is to produce a bootstrap tools tarball from those13:59:01

Show newer messages


Back to Room ListRoom Version: 6