forked from mirrors/nixpkgs
llvmPackages: generalize "3.9.0" string occurrences
Discussed: https://github.com/NixOS/nixpkgs/commit/15af9082eb#commitcomment-18903919
This commit is contained in:
parent
5c38882f38
commit
a49cb9dcbe
|
@ -34,7 +34,7 @@ let
|
|||
# Clang expects to find sanitizer libraries in its own prefix
|
||||
postInstall = ''
|
||||
ln -sv ${llvm}/lib/LLVMgold.so $out/lib
|
||||
ln -sv ${llvm}/lib/clang/3.9.0/lib $out/lib/clang/3.9.0/
|
||||
ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
|
||||
ln -sv $out/bin/clang $out/bin/cpp
|
||||
'';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ let
|
|||
|
||||
fetch = fetch_v version;
|
||||
fetch_v = ver: name: sha256: fetchurl {
|
||||
url = "http://llvm.org/releases/3.9.0/${name}-${ver}.src.tar.xz";
|
||||
url = "http://llvm.org/releases/${version}/${name}-${ver}.src.tar.xz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue