makeSetupHook changed behaviour and is breaking GC anchoring on whitby

#257
Opened by tazjin at 2023-03-04T12·24+00

Every single canon build currently fails on the last step, for example: https://buildkite.com/tvl/depot/builds/22856#0186a9d7-449a-4805-8dac-6ca9f56e9b62

In the log it says

these derivations will be built:
  /nix/store/dszjma7d035aq5a9ngcvvib4sy5a5y2h-depot-gcroot.drv
building '/nix/store/dszjma7d035aq5a9ngcvvib4sy5a5y2h-depot-gcroot.drv'...
/nix/store/5j2p1ly0jh7f4h7r9j34dhpw2nrnpffr-stdenv-linux/setup: line 665: source: /nix/store/fnk9pji7yd8r5i9lfqc80lg53agr1fmx-tvl-russian-db.sqlite: cannot execute binary file
builder for '/nix/store/dszjma7d035aq5a9ngcvvib4sy5a5y2h-depot-gcroot.drv' failed with exit code 126
error: build of '/nix/store/dszjma7d035aq5a9ngcvvib4sy5a5y2h-depot-gcroot.drv' failed

So something in makeSetupHook changed that is now trying to ... execute a sqlite file. Ok.

I think we should throw that out and just generate a plain text file with references.

  1. This was fixed in cl/8228.

    flokli at 2023-03-11T21·01+00

  2. flokli closed this issue at 2023-03-11T21·01+00