llvm: download source over https
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
commit0e2e3afd65ee98c2fdf58b167711794a729a25d5
authorPhilipp Gesang <phg@phi-gamma.net>
dateThu 5 Oct 2017, 12:17 (9 years ago)
parent9b8c278
pkgs/development/compilers/llvm/4/default.nix+1−1
@@ -10,7 +10,7 @@ let
1010 version = release_version; # differentiating these is important for rc's
1111
1212 fetch = name: sha256: fetchurl {
13− url = "http://llvm.org/releases/${release_version}/${name}-${version}.src.tar.xz";
13+ url = "https://releases.llvm.org/${release_version}/${name}-${version}.src.tar.xz";
1414 inherit sha256;
1515 };
1616