Skip to content

Bluetooth update does not build on Nix #173

@jtliang24

Description

@jtliang24

The most recent commit bluetooth refactor causes building vicinae extension declaratively on NixOS to fail. Pinning to the previous commit allows building with no issues.

npm warn Unknown env config "nodedir". This will stop working in the next major version of npm.
npm error code 6
npm error path /build/bluetooth/node_modules/usocket
npm error command failed
npm error command sh -c node-gyp rebuild
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@7.1.2
npm error gyp info using node@24.13.0 | linux | x64
npm error (node:710) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
npm error (Use `node --trace-deprecation ...` to show where the warning was created)
npm error gyp info find Python using Python version 3.13.12 found at "/nix/store/m1fw8l8y9ycxh5dzispbb7cwl6rra14l-python3-3.13.12/bin/python3"
npm error gyp ERR! Completion callback never invoked! 
npm error gyp ERR! System Linux 6.12.74
npm error gyp ERR! command "/nix/store/h4apbnz8p5fmjwcmzlaxcjm5vr70d97x-nodejs-slim-24.13.0/bin/node" "/build/bluetooth/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /build/bluetooth/node_modules/usocket
npm error gyp ERR! node -v v24.13.0
npm error gyp ERR! node-gyp -v v7.1.2
npm error gyp ERR! Node-gyp failed to build your package.
npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
npm error A complete log of this run can be found in: /build/.npm/_logs/2026-03-03T20_46_59_777Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions