openapi-tui: fix build with gcc 15

(cherry picked from commit c8ccb5ef7a96c095c09a7b3bb9bb45856ec3d11f)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
eihqnh
2026-01-11 12:55:58 +01:00
committed by Matthias Beyer
parent 6b30cbb300
commit c6edb8034b
+7 -1
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";