From 0e2e3afd65ee98c2fdf58b167711794a729a25d5 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 5 Oct 2017 12:17:23 +0200 Subject: [PATCH] llvm: download source over https MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The source distribution contains binaries (probably for testing) that make the Avira virus scanner treat it as malware on account of a “bad ELF header”. Apart from being preferable in general, the HTTPS download makes the file opaque to the overeager AV scanner in transparent proxying setups. Also adapt to the fact that the canonical downloads now point to a URL like this: https://releases.llvm.org/4.0.1/llvm-4.0.1.src.tar.xz --- pkgs/development/compilers/llvm/4/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/4/default.nix b/pkgs/development/compilers/llvm/4/default.nix index c1d1ce055d7..25bb008567f 100644 --- a/pkgs/development/compilers/llvm/4/default.nix +++ b/pkgs/development/compilers/llvm/4/default.nix @@ -10,7 +10,7 @@ let version = release_version; # differentiating these is important for rc's fetch = name: sha256: fetchurl { - url = "http://llvm.org/releases/${release_version}/${name}-${version}.src.tar.xz"; + url = "https://releases.llvm.org/${release_version}/${name}-${version}.src.tar.xz"; inherit sha256; };