From d6de73ed61969e1f7d973d2064cb54100ffb3d22 Mon Sep 17 00:00:00 2001 From: tegwick Date: Thu, 30 Apr 2026 23:20:14 +0200 Subject: [PATCH] fix(build): escape \${_k} as ''\${_k} in Nix ''...'' string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nix ''...'' strings interpolate \${...} — use ''$ to produce a literal dollar sign so bash sees TypesPart\${_k}.hs not Nix interpolation. 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 7f7e784..770381b 100644 --- a/flake.nix +++ b/flake.nix @@ -135,7 +135,7 @@ } print " ) where" for(i=s;i<=e;i++) print "import " mods[i] - }' "$_types" > "$sourceRoot/build/Generated/TypesPart${_k}.hs" + }' "$_types" > "$sourceRoot/build/Generated/TypesPart''${_k}.hs" done # Empty stub: Generated.Types is NOT a re-export hub.