mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-19 14:07:19 +02:00
fix: flake next build
This commit is contained in:
1 parent
20aa676eec
commit
a304ab1b28
1 file changed
+4
-1
@@ -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)
|
||||
'';
|
||||
|
||||
|
||||
Reference in new issue
Block a user