git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #36463 from dtzWill/fix/lldb4-gcc7

lldb_4: fix w/gcc7

commita9abec1beed23461d9bdb6b82435806f4b5ddfc3 authorWill Dietz <github@wdtz.org> dateThu 8 Mar 2018, 12:34 (9 years ago) parent51954f1535ba5f
1 file changed+5
pkgs/development/compilers/llvm/4/lldb.nix+5
pkgs/development/compilers/llvm/4/lldb.nix+5
@@ -41,6 +41,11 @@ stdenv.mkDerivation {
4141 "-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic
4242 ];
4343
44+ # Add missing include to fix error when using std::bind
45+ prePatch = ''
46+ sed -i -e '30i#include <functional>' include/lldb/Utility/TaskPool.h
47+ '';
48+
4449 enableParallelBuilding = true;
4550
4651 postInstall = ''