Skip to content

Commit 96477aa

Browse files
committed
fix(darwin/nix): use clang 20 instead of clang 21 to fix dep build
1 parent 895c9b8 commit 96477aa

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

vsix.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
apple-sdk,
32
buildNpmPackage,
3+
clang_20,
44
lib,
55
libsecret,
66
pkg-config,
@@ -19,8 +19,12 @@ buildNpmPackage {
1919
nativeBuildInputs = [
2020
pkg-config
2121
vsce
22+
]
23+
++ lib.optionals stdenv.isDarwin [ clang_20 ]; # clang_21 breaks @vscode/vsce's optional dependency keytar
24+
25+
buildInputs = [
26+
libsecret
2227
];
23-
buildInputs = [ libsecret ] ++ lib.optionals stdenv.isDarwin [ apple-sdk ];
2428

2529
dontNpmBuild = true;
2630
dontNpmInstall = true;

0 commit comments

Comments
 (0)