diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-14 22:50:55 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-14 22:50:55 -0500 |
| commit | 0c4c0dadc71b3300e63b55d56bf86cbb2d89986a (patch) | |
| tree | a6e243c1f5ed8bb4d627fbcb380835d6471ef09c /Omni/Bild/Functions.nix | |
| parent | 461e9a9c410eb915c79753d07559b4dc69b1c238 (diff) | |
fix(bild): per-module builds + exit code propagation
- Fix nixBuild to propagate exit code from realise step
- Previously used >> which discarded exit code - Now checks realise
result before running symlink - Fixes false success checkmarks on
build failures
- Fix per-module Nix derivations
- Use cp -rL instead of tar (src is directory not tarball) - Add
coreutils and findutils to pkgs - Copy deps to . and use -i. for
GHC - Use find with --parents to preserve module hierarchy - Set
dontStrip=true to avoid fixup script errors
- Tested: Example.hs, Task.hs, Dragons.hs, Bild.hs all build - Known
issue: makeWrapper fixup scripts have unbound vars (Nix bug)
Diffstat (limited to 'Omni/Bild/Functions.nix')
0 files changed, 0 insertions, 0 deletions
