Commit 02e8a11
committed
Fix postgresql musl: clear disallowedReferences for cross-compilation
postgresql/generic.nix sets disallowedReferences = [ stdenv'.cc ] which
scans all outputs for references to the C compiler after build phases
complete. For musl cross-compilation, .pc files or .la files may retain
references to the cross-compiler toolchain path, causing the check to
fail silently — all build phases complete successfully with no error in
the log, but the build is recorded as failed.
This explains why postgresql-musl builds consistently "succeed" (all
phases including fixup and stripping complete) but are recorded as
failures on every builder, even with 400+ GB free disk space.1 parent f8ce434 commit 02e8a11
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
| |||
0 commit comments