-
-
Notifications
You must be signed in to change notification settings - Fork 17k
Open
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
Please select a version.
Steps to reproduce
nix flake update && sudo darwin-rebuild switch --flake .
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/309207568
Relevant log output
building the system configuration...
warning: Git tree '/Users/jerry/nixfiles' is dirty
error: builder for '/nix/store/bcnsha3f947mgmjg4in6cbz5j78q1pwy-vscode-lldb-node-deps-1.11.4.drv' failed with exit code 1;
last 25 log lines:
> npm error gyp info spawn args 'build',
> npm error gyp info spawn args '-Goutput_dir=.'
> npm error gyp info spawn args ]
> npm error gyp info spawn make
> npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
> npm error In file included from ../src/async.cc:4:
> npm error ../../node-addon-api/napi.h:1147:39: error: in-class initializer for static data member is not a constant expression
> npm error 1147 | static const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
> npm error | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> npm error ../../node-addon-api/napi.h:1147:60: note: integer value -1 is outside the valid range of values [0, 15] for the enumeration type 'napi_typedarray_type'
> npm error 1147 | static const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
> npm error | ^
> npm error 1 error generated.
> npm error make: *** [keytar.target.mk:126: Release/obj.target/keytar/src/async.o] Error 1
> npm error gyp ERR! build error
> npm error gyp ERR! stack Error: `make` failed with exit code: 2
> npm error gyp ERR! stack at ChildProcess.<anonymous> (/nix/store/7hnbd3z2flnqh17fh3sbk0srpn6zvzck-nodejs-22.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
> npm error gyp ERR! System Darwin 25.0.0
> npm error gyp ERR! command "/nix/store/7hnbd3z2flnqh17fh3sbk0srpn6zvzck-nodejs-22.19.0/bin/node" "/nix/store/7hnbd3z2flnqh17fh3sbk0srpn6zvzck-nodejs-22.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> npm error gyp ERR! cwd /private/tmp/nix-build-vscode-lldb-node-deps-1.11.4.drv-0/source/node_modules/keytar
> npm error gyp ERR! node -v v22.19.0
> npm error gyp ERR! node-gyp -v v11.2.0
> npm error gyp ERR! not ok
> npm error Log files were not written due to an error writing to the directory: /nix/store/qqmcsh0fx1pm92yhvxv0dqlqk581x396-vscode-lldb-node-deps-1.11.4-npm-deps/_logs
> npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
For full logs, run:
nix log /nix/store/bcnsha3f947mgmjg4in6cbz5j78q1pwy-vscode-lldb-node-deps-1.11.4.drv
error: 1 dependencies of derivation '/nix/store/wfwhby28v6cg8l8gfz8lvyrlx5wlazpl-vscode-extension-vadimcn-vscode-lldb-1.11.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rcqc6q7x1sc6ax7dscdjn5rfbgdvm0qr-system-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6jjdsmagxkn1i0d09hmaiyxijraxb6dj-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/87a3l8kzrnbcw8nlivjqxfc7sgdwwnah-darwin-system-25.11.9a9ab01.drv' failed to build
Additional context
No response
System metadata
❯ nix-shell -p nix-info --run "nix-info -m"
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
- system:
"aarch64-darwin"
- host os:
Darwin 25.0.0, macOS 26.0.1
- multi-user?:
yes
- sandbox:
no
- version:
nix-env (Nix) 2.28.5
- nixpkgs:
/nix/store/z8l9cnfbf5gckp04ddnl3zr3icjf2wlk-source
Notify maintainers
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.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
suicide, Fr4nk1inCs and nmrshll
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build