diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-14 23:12:56 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-14 23:12:56 -0500 |
| commit | c435b9a8a87f558cc76c761d6d4ba7a9ae69740c (patch) | |
| tree | 6da3950e9cccb98d09706a3de53e5c671b9e8644 /pyproject.toml | |
| parent | 8eb102bf5131f29879006252c62c4b2237a7d231 (diff) | |
fix(bild): per-module cp overwrites with -f and chmod after each copy
When building per-module derivations, copying dependency .hi files
was failing silently because: 1. First dep copies read-only Alpha.hi
from nix store 2. Second dep also has Alpha.hi (transitive dep) and
tries to overwrite 3. cp fails with permission denied but error is
hidden by '|| true'
Fixed by: - Add -f flag to cp to force overwrite - Run chmod -R +w
after each dependency copy - This allows later deps to overwrite
shared files like Alpha.hi
Tested: Biz/Que/Host.hs now builds successfully with per-module
derivations
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions
