From cdbf2cdc3b65c6dc9b499cc1b6308cbb8c06d231 Mon Sep 17 00:00:00 2001 From: Jp Date: Mon, 2 Feb 2026 15:54:51 +0800 Subject: [PATCH] build: add nodejs and python env for nixpacks setup The Node.js package was missing from the nixPkgs list, which is required for the npm ci command to run. Also explicitly set the PYTHON environment variable to ensure the correct Python version is used during the build. --- nixpacks.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixpacks.toml b/nixpacks.toml index 4aad5cf..0399b25 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,7 +1,10 @@ providers = ["node"] [phases.setup] -nixPkgs = ["python3", "gnumake", "gcc", "sqlite"] +nixPkgs = ["nodejs", "python3", "gnumake", "gcc", "sqlite"] + +[envs] +PYTHON = "python3" [phases.install] cmds = ["npm ci"]