bintools-wrapper: Import separately from cc-wrapper

This commit is contained in:
John Ericson
2017-12-13 16:08:18 -05:00
parent 8e557ed2c5
commit 2bba929062
16 changed files with 150 additions and 77 deletions
@@ -42,14 +42,14 @@ let
libstdcxxClang = ccWrapperFun {
cc = self.clang-unwrapped;
/* FIXME is this right? */
inherit (stdenv.cc) libc nativeTools nativeLibc;
inherit (stdenv.cc) bintools libc nativeTools nativeLibc;
extraPackages = [ libstdcxxHook ];
};
libcxxClang = ccWrapperFun {
cc = self.clang-unwrapped;
/* FIXME is this right? */
inherit (stdenv.cc) libc nativeTools nativeLibc;
inherit (stdenv.cc) bintools libc nativeTools nativeLibc;
extraPackages = [ self.libcxx self.libcxxabi ];
};