git.iko.soy/typeable/nixpkgs
on master help sign in
lldb_4: fix w/gcc7

Same fix used in swift4, FWIW.

commit535ba5f7f7400918211936e81e522ee93925ab54 authorWill Dietz <w@wdtz.org> dateWed 7 Mar 2018, 17:38 (9 years ago) parentb778e99
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 = ''