From 4c0d966d380ea09d0c43df569b1be5048d40edb0 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sat, 2 May 2026 00:02:10 +0200 Subject: [PATCH] chore(debug): add -fno-dynamic-too to skip combined static/dynamic pass DynamicToo state: DT_Dyn appears right before the crash. Force separate static and dynamic GHC compilation passes to change the code path. Co-Authored-By: Claude Sonnet 4.6 --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index b06b5a1..813a6e9 100644 --- a/flake.nix +++ b/flake.nix @@ -125,6 +125,7 @@ "--ghc-option=-O0" "--ghc-option=-fomit-interface-pragmas" "--disable-split-sections" + "--ghc-option=-fno-dynamic-too" ]; postUnpack = (old.postUnpack or "") + '' _actual="$sourceRoot/build/Generated/ActualTypes.hs"