diff options
author | Will Dietz <w@wdtz.org> | 2017-02-19 12:11:48 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2017-02-20 09:26:09 -0600 |
commit | 7ea342708afd4dc4a48064d1b6067b8584d326e8 (patch) | |
tree | 8e24da1aea706c8c243e8d8e5d1c682e4c998d3f /pkgs/development/compilers/llvm | |
parent | a5aedafbd9819880aa27c455345cfa7c26a68424 (diff) | |
download | nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.tar nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.tar.gz nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.tar.bz2 nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.tar.lz nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.tar.xz nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.tar.zst nixlib-7ea342708afd4dc4a48064d1b6067b8584d326e8.zip |
lldb-4.0rc2: Try to fix but ultimately disable on Darwin.
Currently it's failing due to needing Foundation.h, but LLDB on Nix-Darwin is a bit sketchy anyway due to code-signing requirements.
Diffstat (limited to 'pkgs/development/compilers/llvm')
-rw-r--r-- | pkgs/development/compilers/llvm/4.0/lldb.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/compilers/llvm/4.0/lldb.nix b/pkgs/development/compilers/llvm/4.0/lldb.nix index 7bca695fafc1..f37e6fdfafc2 100644 --- a/pkgs/development/compilers/llvm/4.0/lldb.nix +++ b/pkgs/development/compilers/llvm/4.0/lldb.nix @@ -6,10 +6,12 @@ , swig , which , libedit +, libxml2 , llvm , clang-unwrapped , python , version +, darwin }: stdenv.mkDerivation { @@ -27,21 +29,22 @@ stdenv.mkDerivation { cmake/modules/LLDBStandalone.cmake ''; - buildInputs = [ cmake python which swig ncurses zlib libedit llvm ]; + buildInputs = [ cmake python which swig ncurses zlib libedit libxml2 llvm ] + ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc ]; CXXFLAGS = "-fno-rtti"; hardeningDisable = [ "format" ]; cmakeFlags = [ - "-DLLDB_DISABLE_LIBEDIT=1" + "-DLLDB_DISABLE_LIBEDIT=ON" ]; enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { description = "A next-generation high-performance debugger"; homepage = http://llvm.org/; - license = stdenv.lib.licenses.ncsa; - platforms = stdenv.lib.platforms.all; + license = licenses.ncsa; + platforms = platforms.allBut platforms.darwin; }; } |