From a32c7a11dd2aa586abf8821c2b8569ca736f97ce Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Tue, 24 Sep 2024 21:41:51 -0300 Subject: [PATCH] fetchurl: fixup typo on a comment --- pkgs/build-support/fetchurl/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchurl/default.nix b/pkgs/build-support/fetchurl/default.nix index 2901501afaab..d7dabe6ceee5 100644 --- a/pkgs/build-support/fetchurl/default.nix +++ b/pkgs/build-support/fetchurl/default.nix @@ -164,7 +164,8 @@ stdenvNoCC.mkDerivation (( # New-style output content requirements. 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) then "${cacert}/etc/ssl/certs/ca-bundle.crt" else "/no-cert-file.crt";