llvm4.0: Rename "4.0" (and _40) to "4" (and _4).

This reflects upstream versioning change, and allows
us to replace 4.0 with 4.1 (which is now a minor revision)
without changing the attribute name.

Thanks to @vcunat for the idea.
This commit is contained in:
Will Dietz
2017-03-02 17:19:44 -06:00
parent 5e267f657d
commit 6f6c06adc1
11 changed files with 5 additions and 5 deletions
@@ -8,7 +8,7 @@ let
fetch = name: sha256: fetchurl {
url = "http://llvm.org/pre-releases/${release_version}/${rc}/${name}-${version}.src.tar.xz";
# Once 4.0 is released, use this instead:
# Once 4 is released, use this instead:
# url = "http://llvm.org/releases/${release-version}/${name}-${version}.src.tar.xz";
inherit sha256;
};