stdenv, cacert: $NIX_SSL_CERT_FILE changes#61179
Merged
vcunat merged 3 commits intoNixOS:stagingfrom May 19, 2019
Merged
Conversation
Some SSL libs don't react to $SSL_CERT_FILE. That actually makes sense to me, as we add this behavior as nixpkgs-specific, so it seems "safer" to use $NIX_*.
This was referenced May 9, 2019
layus
approved these changes
May 9, 2019
Member
layus
left a comment
There was a problem hiding this comment.
It totally makes sense, and should have been done before :-)
That's very much consistent with the spirit of nix-shell --pure BTW, nix 1.x shells will be always treated as pure; in that version detection isn't possible. NixOS/nix@1bffd83e1a9c
In nix 2.0 this changed: NixOS/nix@1bffd83 I only kept the original intention and did no kind of verification.
Member
Author
|
/cc pypi2nix maintainer @garbas. It couldn't work for years in the intended way, so I don't know. |
Member
|
My reasoning back when I added it was to go trough the upstream codepath instead of our patches by default. But that doesn't really make sense since we want NIX_SSL_CERT_FILE to work for everything. |
vcunat
added a commit
that referenced
this pull request
May 19, 2019
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.
Motivation for this change
Some SSL libs don't react to
$SSL_CERT_FILE. That actually makes sense to me, as we add this behavior as nixpkgs-specific, so it seems "safer" to use$NIX_*.Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)