From 10115578745b704fa9905a3d6799e0ed8dbbb356 Mon Sep 17 00:00:00 2001 From: tegwick Date: Thu, 30 Apr 2026 22:38:17 +0200 Subject: [PATCH] fix(build): configureFlags is a list, use ++ not + for -O0 flag --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index fda7173..308e5b6 100644 --- a/flake.nix +++ b/flake.nix @@ -113,7 +113,7 @@ # interface-file overflow in GHC 9.10.3) into two halves. # All awk/printf: no external file deps, no git-tracking required. # -O0 keeps .hi files small (strips unfoldings/specialisations). - configureFlags = (old.configureFlags or "") + " --ghc-option=-O0"; + configureFlags = (old.configureFlags or []) ++ [ "--ghc-option=-O0" ]; postUnpack = (old.postUnpack or "") + '' _types="$sourceRoot/build/Generated/Types.hs"