1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-24 11:19:35 +01:00

Merge pull request #14627 from jonhermansen/libstore-curl-version-maximum

libstore: fix curl version check to allow 8.17.0
This commit is contained in:
Sergei Zimmerman 2025-11-23 09:57:09 +00:00 committed by GitHub
commit 2594e417b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,7 +114,9 @@ boost = dependency(
deps_other += boost
curl = dependency('libcurl', 'curl', version : '>= 7.75.0')
if curl.version().version_compare('>=8.16.0 <8.17.0')
if curl.version().version_compare('>=8.16.0') and curl.version().version_compare(
'<8.17.0',
)
# Out of precaution, avoid building with libcurl version that suffer from https://github.com/curl/curl/issues/19334.
error(
'curl @0@ has issues with write pausing, please use libcurl < 8.16 or >= 8.17, see https://github.com/curl/curl/issues/19334'.format(