Commit eee10e3
committed
Fix postgresql-musl: strip dev refs from out AND lib outputs
The real reference cycle is dev↔out (not dev↔lib as previously thought):
- dev references out via .pc -L flags
- out references dev via baked-in paths in binaries
Building on hydra (standard Nix, ext4) confirmed:
"cycle detected in references of output 'dev' from output 'out'"
On darwin builders (Determinate Nix, APFS), this manifests as orphaned
store paths instead of a clean error: outputs exist on disk but daemon
fails to register them in the Nix DB.
Fix: strip dev references from BOTH out and lib outputs in postFixup,
since neither needs dev at runtime. Also remove .la files which embed
dev paths.1 parent 9c4e9cc commit eee10e3
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
184 | 180 | | |
| 181 | + | |
| 182 | + | |
185 | 183 | | |
186 | 184 | | |
187 | 185 | | |
| |||
0 commit comments