rustc: remove gdb dependency for darwin

This commit is contained in:
Daiderd Jordan 2017-08-06 19:00:58 +02:00
parent 953b232385
commit 147cd29fff
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -114,8 +114,12 @@ stdenv.mkDerivation {
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
# ps is needed for one of the test cases # ps is needed for one of the test cases
nativeBuildInputs = [ file python2 procps rustPlatform.rust.rustc git cmake nativeBuildInputs =
which libffi gdb ]; [ file python2 procps rustPlatform.rust.rustc git cmake
which libffi
]
# Only needed for the debuginfo tests
++ optional (!stdenv.isDarwin) gdb;
buildInputs = [ ncurses ] ++ targetToolchains buildInputs = [ ncurses ] ++ targetToolchains
++ optional (!forceBundledLLVM) llvmShared; ++ optional (!forceBundledLLVM) llvmShared;