From 812f7714e26a2fdd1446b21e43642c4c023045df Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 31 Dec 2017 11:07:57 +0100 Subject: clang: move libclang to separate lib output Currently clang-unwrapped can't be used as a buildInput without also shadowing clang/clang++ of a clang based stdenv. --- pkgs/development/compilers/llvm/3.8/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/compilers/llvm/3.8/default.nix') diff --git a/pkgs/development/compilers/llvm/3.8/default.nix b/pkgs/development/compilers/llvm/3.8/default.nix index bd79db012a63..2f3d59434bba 100644 --- a/pkgs/development/compilers/llvm/3.8/default.nix +++ b/pkgs/development/compilers/llvm/3.8/default.nix @@ -22,6 +22,8 @@ let inherit clang-tools-extra_src stdenv; }; + libclang = self.clang-unwrapped.lib; + clang = if stdenv.cc.isGNU then self.libstdcxxClang else self.libcxxClang; libstdcxxClang = ccWrapperFun { -- cgit 1.4.1