From 187ad24404ec4c1154d524f0fe285023e0383329 Mon Sep 17 00:00:00 2001 From: jasmine Date: Fri, 14 Nov 2025 11:26:25 +0800 Subject: [PATCH] Exclude bun.lockb from omnix text substitution Prevents "stream did not contain valid UTF-8" errors during template initialization. The binary lockfile doesn't need text substitution and should be copied as-is. --- nix/modules/template.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/modules/template.nix b/nix/modules/template.nix index ea22107..9b2e8e6 100644 --- a/nix/modules/template.nix +++ b/nix/modules/template.nix @@ -24,6 +24,7 @@ in { placeholder = "my-project"; } ]; + exclude = ["bun.lockb"]; }; javascript-nextjs = { @@ -35,6 +36,7 @@ in { placeholder = "my-nextjs-app"; } ]; + exclude = ["bun.lockb"]; }; }; };