diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-08-06 19:00:58 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-08-06 19:00:58 +0200 |
commit | 147cd29fff3b08d596748c5d7c33bf633aacb428 (patch) | |
tree | 5f2363361f6fb72f279f7451b4f653d3a860cf5c /pkgs/development/compilers/rust/rustc.nix | |
parent | 953b23238528939baca2330b8cbc17bb1a7ceab5 (diff) | |
download | nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.tar nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.tar.gz nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.tar.bz2 nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.tar.lz nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.tar.xz nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.tar.zst nixlib-147cd29fff3b08d596748c5d7c33bf633aacb428.zip |
rustc: remove gdb dependency for darwin
Diffstat (limited to 'pkgs/development/compilers/rust/rustc.nix')
-rw-r--r-- | pkgs/development/compilers/rust/rustc.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index 28863e450a7a..c5767541a027 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -114,8 +114,12 @@ stdenv.mkDerivation { dontUseCmakeConfigure = true; # ps is needed for one of the test cases - nativeBuildInputs = [ file python2 procps rustPlatform.rust.rustc git cmake - which libffi gdb ]; + nativeBuildInputs = + [ file python2 procps rustPlatform.rust.rustc git cmake + which libffi + ] + # Only needed for the debuginfo tests + ++ optional (!stdenv.isDarwin) gdb; buildInputs = [ ncurses ] ++ targetToolchains ++ optional (!forceBundledLLVM) llvmShared; |