lsp-ai: fix gcc15 build (#480994)

This commit is contained in:
Aleksana
2026-01-18 02:57:46 +00:00
committed by GitHub
+5
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
pkg-config,
cmake,
oniguruma,
openssl,
zlib,
perl,
@@ -56,10 +57,14 @@ rustPlatform.buildRustPackage rec {
];
buildInputs = [
oniguruma
openssl
zlib
];
# use system oniguruma since the bundled one fails to build with gcc15
env.RUSTONIG_SYSTEM_LIBONIG = 1;
cargoBuildFlags = [ "-p lsp-ai" ];
passthru.updateScript = gitUpdater {