Unverified Commit d08a982c authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

openapi-tui: Fix gcc15 build (#479002)

parents a72beff4 3b3ad641
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  rustPlatform,
  fetchFromGitHub,
  pkg-config,
  oniguruma,
  openssl,
}:

@@ -19,10 +20,17 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-911ARjYvTNqLVVUWxATbtiKXOC9AqalFvDvp/qAef1Q=";

  env.OPENSSL_NO_VENDOR = true;
  # Do not vendor Oniguruma
  env = {
    RUSTONIG_SYSTEM_LIBONIG = true;
    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";