From e117f78ef3cd392bd9e00344188931f35fa4c968 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sat, 2 May 2026 00:06:31 +0200 Subject: [PATCH] chore(debug): force -j1 to serialize GHC parallel code generation With -j8, GHC generates code for 8 modules in parallel. A parallel merging step might read combined objects via Data.Binary.Get hitting 287 MB. Forcing -j1 serializes codegen to test if parallel merging is the crash cause. Co-Authored-By: Claude Sonnet 4.6 --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 813a6e9..5543231 100644 --- a/flake.nix +++ b/flake.nix @@ -125,7 +125,7 @@ "--ghc-option=-O0" "--ghc-option=-fomit-interface-pragmas" "--disable-split-sections" - "--ghc-option=-fno-dynamic-too" + "--ghc-option=-j1" ]; postUnpack = (old.postUnpack or "") + '' _actual="$sourceRoot/build/Generated/ActualTypes.hs"