Unverified Commit c6edb803 authored by eihqnh's avatar eihqnh Committed by Matthias Beyer
Browse files

openapi-tui: fix build with gcc 15



(cherry picked from commit c8ccb5ef7a96c095c09a7b3bb9bb45856ec3d11f)
Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
parent 6b30cbb3
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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";