Repository navigation
filetransfer: set Accept-Encoding to all values supported by libcurl for transparent compression - #6694
Closed
NickCao wants to merge 4 commits into
Closed
filetransfer: set Accept-Encoding to all values supported by libcurl for transparent compression#6694NickCao wants to merge 4 commits into
NickCao wants to merge 4 commits into
Conversation
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
edolstra
reviewed
Jun 27, 2022
NickCao
commented
Jun 29, 2022
Comment on lines
+193
to
+202
| # Check whether libcurl supports required features | ||
| PKG_CHECK_VAR([LIBCURL_SUPPORTED_FEATURES], [libcurl], [supported_features], [ | ||
| m4_foreach([LIBCURL_FEATURE], [brotli, zstd], [ | ||
| AC_MSG_CHECKING([whether libcurl supports feature LIBCURL_FEATURE]) | ||
| AS_CASE($LIBCURL_SUPPORTED_FEATURES, [*LIBCURL_FEATURE*], [AC_MSG_RESULT(yes)], | ||
| [AC_MSG_RESULT(no) | ||
| AC_MSG_ERROR([Nix requires libcurl to support feature LIBCURL_FEATURE])]) | ||
| ]) | ||
| ], [AC_MSG_ERROR([Nix requires libcurl to provide a list of supported features])]) | ||
|
|
Member
Author
There was a problem hiding this comment.
I'm not an autoconf expert, feel free to point out better ways to do this.
agbrooks
pushed a commit
to agbrooks/nix
that referenced
this pull request
Sep 12, 2022
7 tasks
Minion3665
pushed a commit
to Minion3665/nix
that referenced
this pull request
Feb 23, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ref: https://discourse.nixos.org/t/announcing-harmonia-a-nix-binary-cache-written-in-rust/19855
This is especially helpful when fetching large nars from binary caches that does not support compression, or having difficulties implementing it.