Merge pull request #214 from pcasaretto/fix/nix-build-deps

This commit is contained in:
Tobias Lütke 2026-02-22 10:42:57 -04:00 committed by GitHub
commit a815b52ede
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,13 @@
src = ./.;
nativeBuildInputs = [ pkgs.bun pkgs.makeWrapper ];
nativeBuildInputs = [
pkgs.bun
pkgs.makeWrapper
pkgs.python3 # needed by node-gyp to compile better-sqlite3
] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
pkgs.darwin.cctools # provides libtool needed by node-gyp on macOS
];
buildInputs = [ pkgs.sqlite ];