Repository navigation
Open
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
nix build 'nixpkgs/273cbef2d907d6d59fc146c0701a3c7fcee381c2#kilo'
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
structuredAttrs is enabled
Using versionCheckHook
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/rc54rakrvbqpz35yq1py0z9ciyqxb9sa-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
patching script interpreter paths in node_modules
node_modules/.bun/[email protected]/node_modules/open/xdg-open: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/pino/inc-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/thread-stream/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/thread-stream/test/ts/transpile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/node-gyp/gyp/gyp: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/bottleneck/scripts/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/bottleneck/scripts/test_all.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/@[email protected]/node_modules/@vscode/test-electron/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/@[email protected]/node_modules/@vscode/test-electron/killTree.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/pino-abstract-transport/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/open/xdg-open: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/ajv/scripts/travis-gh-pages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/ajv/scripts/prepare-tests: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/ajv/scripts/publish-built-version: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/@[email protected]/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/cytoscape/.github/workflows/scripts/pre_release_test.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/cytoscape/.github/workflows/scripts/new-feature-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/cytoscape/.github/workflows/scripts/merge_unstable_to_master.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]/node_modules/open/xdg-open: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/buffer/bin/update-authors.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh"
node_modules/.bun/[email protected]/node_modules/rw/test/run-tests: interpreter directive changed from "#!/bin/bash" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash"
node_modules/.bun/[email protected]+c9550eb2b24d5fc6/node_modules/knip/bin/knip-bun.js: interpreter directive changed from "#!/usr/bin/env bun" to "/nix/store/9ari7qcwfwkqcnr9kpf9fhbshmyhp98k-bun-1.3.13/bin/bun"
patching script interpreter paths in packages/core/node_modules packages/http-recorder/node_modules packages/kilo-console/node_modules packages/kilo-docs/node_modules packages/kilo-gateway/node_modules packages/kilo-i18n/node_modules packages/kilo-indexing/node_modules packages/kilo-telemetry/node_modules packages/kilo-ui/node_modules packages/kilo-vscode/node_modules packages/kilo-web-ui/node_modules packages/llm/node_modules packages/opencode/node_modules packages/plugin-atomic-chat/node_modules packages/plugin/node_modules packages/script/node_modules packages/storybook/node_modules packages/ui/node_modules
configurePhase completed in 38 seconds
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Warning: This script requires bun@^1.3.14, but you are using [email protected]
kilo script {
"channel": "latest",
"version": "7.3.40",
"preview": false,
"release": false,
"team": [
"actions-user",
"kilo-maintainer[bot]",
"kiloconnect[bot]",
"kiloconnect-lite[bot]",
"alexkgold",
"arimesser",
"arkadiykondrashov",
"bturcotte520",
"catrielmuller",
"chrarnoldus",
"codingelves",
"darkogj",
"dependabot[bot]",
"dosire",
"DScdng",
"emilieschario",
"eshurakov",
"Helix-Kilo",
"iscekic",
"jeanduplessis",
"jobrietbergen",
"jrf0110",
"johnnyeric",
"alex-alecu",
"imanolmzd-svg",
"kilocode-bot",
"kilo-code-bot",
"kilo-code-bot[bot]",
"kirillk",
"lambertjosh",
"LigiaZ",
"marius-kilocode",
"markijbema",
"olearycrew",
"pandemicsyn",
"pedroheyerdahl",
"RSO",
"sbreitenother",
"suhailkc2025",
"Sureshkumars"
]
}
Loaded 18 migrations
Prepared models snapshot from /nix/store/jpfkqz7h8d58naspdadz6bkhrcwnshc4-models-dev-sdk-v0.0.5-unstable-2026-07-07/dist/_api.json (151 providers, 5347 models)
building Kilo Console
�[0m�[2m�[35m$�[0m �[2m�[1mvite build�[0m
/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash: /build/source/packages/kilo-console/node_modules/.bin/vite: /usr/bin/env: bad interpreter: No such file or directory
�[0m�[31merror�[0m�[2m:�[0m script �[1m"build"�[0m exited with code 126�[0m
�[0m�[1m88 |�[0m stdout: �[0m�[32m"inherit"�[0m,
�[0m�[1m89 |�[0m stderr: �[0m�[32m"inherit"�[0m,
�[0m�[1m90 |�[0m windowsHide: �[0m�[33mtrue�[0m,
�[0m�[1m91 |�[0m })
�[0m�[1m92 |�[0m �[0m�[35mconst�[0m code = �[0m�[35mawait�[0m proc.exited
�[0m�[1m93 |�[0m �[0m�[35mif�[0m (code !== �[0m�[33m0�[0m) �[0m�[35mthrow�[0m �[0m�[35mnew�[0m �[0m�[1mError�[0m(�[0m�[32m`Kilo Console build failed with exit code �[0m${code}�[0m�[32m`�[0m)
�[31m�[1m^�[0m
�[0m�[31merror�[0m�[2m:�[0m �[1mKilo Console build failed with exit code 126�[0m
�[0m �[2mat �[0m�[0m�[1m�[3mbuildKiloConsole�[0m�[2m (�[0m�[0m�[36m�[2m/build/source/packages/opencode/�[0m�[36mscript/build.ts�[0m�[2m:�[0m�[33m93�[0m�[2m:�[33m29�[0m�[2m)�[0m
�[0m
�[2mBun v1.3.13 (Linux x64)�[0mAdditional context
I successfully built the package using the following overlay:
(final: prev: {
kilo = prev.kilo.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ final.nodejs_22 ];
postPatch = (old.postPatch or "") + ''
substituteInPlace packages/opencode/script/build.ts \
--replace-fail ' console.log(`Running smoke test: ''${binaryPath} --pure models anthropic`)' \
' console.log("Skipping models snapshot smoke test")' \
--replace-fail ' await smokeModels(binaryPath)' \
' await Promise.resolve()' \
--replace-fail ' console.log("Models snapshot smoke test passed")' \
' void 0'
'';
});
})I had to replace also the smoke test since it was running forever.
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.31, NixOS, 26.11 (Zokor), 26.11.20260708.0bb7ec5 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.8 - channels(root):
"nixos-24.05" - nixpkgs:
/nix/store/gdsajkamj68va7gl12sdqj4q562jg6rm-source
Notify maintainers
@xiaoxiangmoe
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by first-uninteresting-username, Paul Tötterman and Malix - Alix Brunet
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
alexyao2015 commentedon Aug 7, 2026
@xiaoxiangmoe
kilo: mark package as broken
kilo: mark package as broken
kilo: mark package as broken
kilo: mark package as broken
kilo: mark package as broken