From 535ba5f7f7400918211936e81e522ee93925ab54 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 7 Mar 2018 17:38:15 -0600 Subject: [PATCH] lldb_4: fix w/gcc7 Same fix used in swift4, FWIW. --- pkgs/development/compilers/llvm/4/lldb.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/llvm/4/lldb.nix b/pkgs/development/compilers/llvm/4/lldb.nix index 5ffc346a479..325149fc19b 100644 --- a/pkgs/development/compilers/llvm/4/lldb.nix +++ b/pkgs/development/compilers/llvm/4/lldb.nix @@ -41,6 +41,11 @@ stdenv.mkDerivation { "-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic ]; + # Add missing include to fix error when using std::bind + prePatch = '' + sed -i -e '30i#include ' include/lldb/Utility/TaskPool.h + ''; + enableParallelBuilding = true; postInstall = ''