fix: flake next build

This commit is contained in:
zhom committed 2026-09-26 11:17:57 +04:00
1 parent 20aa676eec
commit a304ab1b28
1 file changed
+4 -1
+4 -1
View File
@@ -312,7 +312,10 @@
apps.build = mkApp "donut-build" ''
set -euo pipefail
pnpm build
# mkApp exports NODE_ENV=development for the dev apps, and next build
# fails to prerender under it ("Cannot read properties of null
# (reading 'useContext')" on /_global-error).
NODE_ENV=production pnpm build
(cd src-tauri && cargo build)
'';