lla: do not vendor oniguruma

This commit is contained in:
Leah Amelia Chen
2026-01-07 12:52:42 +08:00
parent fdeae19e52
commit a0eccde525
+10
View File
@@ -4,6 +4,8 @@
fetchFromGitHub,
makeBinaryWrapper,
installShellFiles,
pkg-config,
oniguruma,
versionCheckHook,
nix-update-script,
}:
@@ -24,8 +26,16 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [
makeBinaryWrapper
installShellFiles
pkg-config
];
buildInputs = [
oniguruma
];
# Do not vendor Oniguruma
env.RUSTONIG_SYSTEM_LIBONIG = true;
cargoHash = "sha256-qKeNSaZMpyQpI7oGqn416pfBINMsIE+0sjzg38roxc8=";
cargoBuildFlags = [ "--workspace" ];