From cc8c1a573d3d59479a13228d6dcfe26ffc000627 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Thu, 13 Feb 2025 21:26:29 -0700 Subject: [PATCH] curl: autoreconfHook on OpenBSD It uses an old version of libtool that messes up shared libaries on this platform. --- pkgs/by-name/cu/curlMinimal/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cu/curlMinimal/package.nix b/pkgs/by-name/cu/curlMinimal/package.nix index 1c58c12f9860..43ca92ae1502 100644 --- a/pkgs/by-name/cu/curlMinimal/package.nix +++ b/pkgs/by-name/cu/curlMinimal/package.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, darwin, pkg-config, perl, nixosTests +{ lib, stdenv, fetchurl, darwin, pkg-config, perl, nixosTests, autoreconfHook , brotliSupport ? false, brotli , c-aresSupport ? false, c-aresMinimal , gnutlsSupport ? false, gnutls @@ -90,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: { NIX_LDFLAGS = "-liconv"; }; - nativeBuildInputs = [ pkg-config perl ]; + nativeBuildInputs = [ pkg-config perl ] ++ lib.optionals stdenv.hostPlatform.isOpenBSD [ autoreconfHook ]; # Zlib and OpenSSL must be propagated because `libcurl.la' contains # "-lz -lssl", which aren't necessary direct build inputs of