git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110838 from r-burns/rocm

llvmPackages_rocm.clang: add isClang and llvm passthru

commit35cd0239054b1b027a66694ddfc6fba963af2bd2 authorDaniël de Kok <me@danieldk.eu> dateTue 26 Jan 2021, 12:25 (6 years ago) parentd40f7dc44c4690
1 file changed+5
pkgs/development/compilers/llvm/rocm/clang.nix+5
pkgs/development/compilers/llvm/rocm/clang.nix+5
@@ -56,6 +56,11 @@ stdenv.mkDerivation rec {
5656 echo "$VCSVersion" > lib/Basic/VCSVersion.inc
5757 '';
5858
59+ passthru = {
60+ isClang = true;
61+ inherit llvm;
62+ };
63+
5964 meta = with lib; {
6065 description = "ROCm fork of the clang C/C++/Objective-C/Objective-C++ LLVM compiler frontend";
6166 homepage = "https://llvm.org/";