vscode-js-debug: fix build failure caused by clang_21 on darwin (#450967)

This commit is contained in:
Damien Cassou
2025-10-11 15:01:50 +00:00
committed by GitHub

View File

@@ -11,8 +11,8 @@
runCommand, runCommand,
vscode-js-debug, vscode-js-debug,
nix-update-script, nix-update-script,
clang_20,
}: }:
buildNpmPackage rec { buildNpmPackage rec {
pname = "vscode-js-debug"; pname = "vscode-js-debug";
version = "1.104.0"; version = "1.104.0";
@@ -30,7 +30,10 @@ buildNpmPackage rec {
pkg-config pkg-config
node-gyp node-gyp
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild ]; ++ lib.optionals stdenv.hostPlatform.isDarwin [
xcbuild
clang_20
]; # clang_21 breaks it
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ libsecret ]; buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ libsecret ];