-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "openssl, curl, git: Respect $NIX_SSL_CERT_FILE"
This reverts commit 942dbf8. Sorry, this was supposed to go to staging instead of master...
- Loading branch information
Showing
5 changed files
with
2 additions
and
37 deletions.
There are no files selected for viewing
7 changes: 2 additions & 5 deletions
7
pkgs/applications/version-management/git-and-tools/git/ssl-cert-file.patch
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
diff -ru git-2.7.4-orig/http.c git-2.7.4/http.c | ||
--- git-2.7.4-orig/http.c 2016-03-17 21:47:59.000000000 +0100 | ||
+++ git-2.7.4/http.c 2016-04-12 11:38:33.187070848 +0200 | ||
@@ -544,6 +544,10 @@ | ||
@@ -544,6 +544,7 @@ | ||
#if LIBCURL_VERSION_NUM >= 0x070908 | ||
set_from_env(&ssl_capath, "GIT_SSL_CAPATH"); | ||
#endif | ||
+ if (getenv("NIX_SSL_CERT_FILE")) | ||
+ set_from_env(&ssl_cainfo, "NIX_SSL_CERT_FILE"); | ||
+ else | ||
+ set_from_env(&ssl_cainfo, "SSL_CERT_FILE"); | ||
+ set_from_env(&ssl_cainfo, "SSL_CERT_FILE"); | ||
set_from_env(&ssl_cainfo, "GIT_SSL_CAINFO"); | ||
|
||
set_from_env(&user_agent, "GIT_HTTP_USER_AGENT"); |
This file contains 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
15 changes: 0 additions & 15 deletions
15
pkgs/development/libraries/openssl/nix-ssl-cert-file.patch
This file was deleted.
Oops, something went wrong.
This file contains 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
This file was deleted.
Oops, something went wrong.