Skip to content

Commit c62060b

Browse files
committed
Fix postgresql musl: disable separateDebugInfo to prevent GC race
The postgresql musl cross-build completes all phases successfully (buildPhase, installPhase, fixupPhase) but the outputs get garbage collected by the builder's min-free auto-GC before they can be transferred back to the hydra machine. The massive -debug output (hundreds of debug symlinks) makes the nix-copy transfer too slow. Disable separateDebugInfo to eliminate the -debug output entirely, reducing transfer size and avoiding the GC race. Both x86_64-musl (16 attempts on darwin-7) and aarch64-musl (6 attempts on darwin-6) exhibited this pattern: build log shows all phases completing but outputs are absent from both builder and hydra stores.
1 parent c32c99a commit c62060b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@
155155
};
156156
doCheck = false;
157157
outputChecks = {};
158+
# Disable separateDebugInfo to avoid massive -debug output
159+
# with hundreds of symlinks. The debug output size causes
160+
# nix-copy transfers to take too long, racing against the
161+
# builder's min-free auto-GC which deletes the outputs
162+
# before they can be transferred to the hydra machine.
163+
separateDebugInfo = false;
158164
});
159165
});
160166
};

0 commit comments

Comments
 (0)