summaryrefslogtreecommitdiff
path: root/Omni/Bild/Haskell.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-14 22:20:09 -0500
committerBen Sima <ben@bsima.me>2025-11-14 22:20:09 -0500
commitd30ae1657f46855a65d0994bf1c61f454356ff9e (patch)
tree855069fe85a1017ff29da8932cc9b900c73b7097 /Omni/Bild/Haskell.nix
parentc071c02345bc9fd272e215b84aa09b9ab942a7ee (diff)
Fix module compilation: use custom builder to avoid GHC setup hooks
The haskell.ghcWith package has setup hooks that override buildPhase even when explicitly set. Solution: use custom builder = stdenv.shell with args instead of relying on mkDerivation phases. Changes: - Module derivations: Use custom builder with single -c script - Combines unpack, build, and install into one script - Explicitly call ghc with full path to avoid hook interference - Remove unused objectPaths computation (now using ghc --make with source) This fixes builds for Omni/Lint.hs, Omni/Task.hs, and all other Haskell targets with complex dependency graphs.
Diffstat (limited to 'Omni/Bild/Haskell.nix')
0 files changed, 0 insertions, 0 deletions