删除 nixpacks.toml
Some checks failed
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / generate (macos-latest) (push) Has been cancelled
CI / generate (ubuntu-latest) (push) Has been cancelled
CI / generate (windows-latest) (push) Has been cancelled
Publish Any Commit / publish (push) Has been cancelled

This commit is contained in:
2025-07-28 16:58:31 +00:00
parent 7d2f57df97
commit f7c9973704

View File

@@ -1,17 +0,0 @@
[phases.setup]
nixPkgs = [
"nodejs_22", # Nixpacks 已帮你加,这里显性写出来安全
"sqlite" # 预编译好的 sqlite 库
]
[phases.install]
cmds = [
"sudo apt-get update -y",
"sudo apt-get install -y build-essential python3", # 上 gcc/make/python
"pnpm config set script-shell '/bin/bash'", # 避免 sh -c 失环境
"pnpm install --frozen-lockfile"
]
# 可选:编译缓存,构建更快
[phases.build]
cacheDirectories = [ "node_modules/.cache" ]