openapi-tui: fix build with gcc 15

This commit is contained in:
eihqnh
2026-01-11 13:18:22 +08:00
parent 4c41b03618
commit c8ccb5ef7a

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";