openapi-tui: fix build with gcc 15

(cherry picked from commit c8ccb5ef7a)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
eihqnh
2026-01-11 13:18:22 +08:00
committed by Matthias Beyer
parent 6b30cbb300
commit c6edb8034b

View File

@@ -3,6 +3,7 @@
rustPlatform,
fetchFromGitHub,
pkg-config,
oniguruma,
openssl,
}:
@@ -19,10 +20,15 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-911ARjYvTNqLVVUWxATbtiKXOC9AqalFvDvp/qAef1Q=";
# Do not vendor Oniguruma
env.RUSTONIG_SYSTEM_LIBONIG = true;
env.OPENSSL_NO_VENDOR = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
buildInputs = [
openssl
oniguruma
];
meta = {
description = "Terminal UI to list, browse and run APIs defined with openapi spec";