lsp-ai: fix gcc15 build
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user