diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2017-05-26 00:11:03 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2017-05-31 19:59:36 -0700 |
commit | 29acc510c05d853f4be464c715fde285db422a5f (patch) | |
tree | 9dd7c8f9beeb008c1d5d1b9989574f2b1be4e584 /pkgs/development/compilers | |
parent | 634f5f0d0f680b820484baa04ff94c23786df97b (diff) | |
download | nixlib-29acc510c05d853f4be464c715fde285db422a5f.tar nixlib-29acc510c05d853f4be464c715fde285db422a5f.tar.gz nixlib-29acc510c05d853f4be464c715fde285db422a5f.tar.bz2 nixlib-29acc510c05d853f4be464c715fde285db422a5f.tar.lz nixlib-29acc510c05d853f4be464c715fde285db422a5f.tar.xz nixlib-29acc510c05d853f4be464c715fde285db422a5f.tar.zst nixlib-29acc510c05d853f4be464c715fde285db422a5f.zip |
lldb: fix on Darwin
This gives a few fixes for LLDB on Darwin. Note: you will have to do code signing for it to work outside of root!
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/llvm/4/lldb.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/compilers/llvm/4/lldb.nix b/pkgs/development/compilers/llvm/4/lldb.nix index a71c2332dc1c..a3c46a4c7e94 100644 --- a/pkgs/development/compilers/llvm/4/lldb.nix +++ b/pkgs/development/compilers/llvm/4/lldb.nix @@ -32,17 +32,21 @@ stdenv.mkDerivation { nativeBuildInputs = [ cmake python which swig ]; buildInputs = [ ncurses zlib libedit libxml2 llvm ] - ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc ]; + ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ]; CXXFLAGS = "-fno-rtti"; hardeningDisable = [ "format" ]; + cmakeFlags = [ + "-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic + ]; + enableParallelBuilding = true; meta = with stdenv.lib; { description = "A next-generation high-performance debugger"; homepage = http://llvm.org/; license = licenses.ncsa; - platforms = platforms.allBut platforms.darwin; + platforms = platforms.all; }; } |