mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
fetchurl: fixup typo on a comment
This commit is contained in:
parent
ecd4ea0ab2
commit
a32c7a11dd
@ -164,7 +164,8 @@ stdenvNoCC.mkDerivation ((
|
|||||||
# New-style output content requirements.
|
# New-style output content requirements.
|
||||||
inherit (hash_) outputHashAlgo outputHash;
|
inherit (hash_) outputHashAlgo outputHash;
|
||||||
|
|
||||||
# Disable TLS verification only when we know the hash and no credentials are needed to access the ressource
|
# Disable TLS verification only when we know the hash and no credentials are
|
||||||
|
# needed to access the resource
|
||||||
SSL_CERT_FILE = if (hash_.outputHash == "" || hash_.outputHash == lib.fakeSha256 || hash_.outputHash == lib.fakeSha512 || hash_.outputHash == lib.fakeHash || netrcPhase != null)
|
SSL_CERT_FILE = if (hash_.outputHash == "" || hash_.outputHash == lib.fakeSha256 || hash_.outputHash == lib.fakeSha512 || hash_.outputHash == lib.fakeHash || netrcPhase != null)
|
||||||
then "${cacert}/etc/ssl/certs/ca-bundle.crt"
|
then "${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||||
else "/no-cert-file.crt";
|
else "/no-cert-file.crt";
|
||||||
|
Loading…
Reference in New Issue
Block a user