|
|
|
@ -6,15 +6,14 @@ |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
release_version = "10.0.0"; |
|
|
|
|
candidate = "rc5"; |
|
|
|
|
version = "10.0.0${candidate}"; # differentiating these is important for rc's |
|
|
|
|
version = release_version; # differentiating these (variables) is important for rc's |
|
|
|
|
|
|
|
|
|
fetch = name: sha256: fetchurl { |
|
|
|
|
url = "https://prereleases.llvm.org/${release_version}/${candidate}/${name}-${version}.src.tar.xz"; |
|
|
|
|
url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${release_version}/${name}-${version}.src.tar.xz"; |
|
|
|
|
inherit sha256; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
clang-tools-extra_src = fetch "clang-tools-extra" "0x23q70c0xcwdhj0d66nisr8rqq69qcshrbb4si9pxfsm0zs9h3i"; |
|
|
|
|
clang-tools-extra_src = fetch "clang-tools-extra" "074ija5s2jsdn0k035r2dzmryjmqxdnyg4xwvaqych2bazv8rpxc"; |
|
|
|
|
|
|
|
|
|
tools = stdenv.lib.makeExtensible (tools: let |
|
|
|
|
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; }); |
|
|
|
|