mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Disable TLS verification for builtin fetchurl
This makes it consistent with the Nixpkgs fetchurl and makes it work in chroots. We don't need verification because the hash of the result is checked anyway.
This commit is contained in:
parent
357d31b339
commit
5db358d4d7
4 changed files with 32 additions and 12 deletions
|
@ -158,7 +158,7 @@ int main(int argc, char * * argv)
|
|||
auto actualUri = resolveMirrorUri(state, uri);
|
||||
|
||||
/* Download the file. */
|
||||
auto result = downloadFile(actualUri);
|
||||
auto result = downloadFile(actualUri, DownloadOptions());
|
||||
|
||||
AutoDelete tmpDir(createTempDir(), true);
|
||||
Path tmpFile = (Path) tmpDir + "/tmp";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue