summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm/6/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-03-18 11:28:52 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-03-18 11:28:52 -0400
commitbc054004ac04b2500247c2efe504e6b3da444e61 (patch)
tree9eafd293d2942509613ea87c2260ea02f8525f01 /pkgs/development/compilers/llvm/6/default.nix
parent99c18b34410fe7bbbe3f6417258b06a3d5e3171d (diff)
downloadnixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.tar
nixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.tar.gz
nixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.tar.bz2
nixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.tar.lz
nixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.tar.xz
nixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.tar.zst
nixpkgs-bc054004ac04b2500247c2efe504e6b3da444e61.zip
cc-wrapper, clang: `libstdcxxHook` should a propagated build input
Lumping it in with the target platform libraries was incorrect, and
caused eval failures when gcc couldn't be built for the target platform.
Diffstat (limited to 'pkgs/development/compilers/llvm/6/default.nix')
-rw-r--r--pkgs/development/compilers/llvm/6/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/6/default.nix b/pkgs/development/compilers/llvm/6/default.nix
index 85bb00d80c7..ba704f972c3 100644
--- a/pkgs/development/compilers/llvm/6/default.nix
+++ b/pkgs/development/compilers/llvm/6/default.nix
@@ -50,8 +50,10 @@ let
 
     libstdcxxClang = wrapCCWith rec {
       cc = tools.clang-unwrapped;
-      extraPackages = [
+      extraTools = [
         libstdcxxHook
+      ];
+      extraPackages = [
         targetLlvmLibraries.compiler-rt
       ];
       extraBuildCommands = mkExtraBuildCommands cc;