summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/rustc.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-06-11 08:51:47 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-06-11 08:51:47 +0200
commitf6072d7b6ee8b96554cba0920bc1768e4c92adba (patch)
treeeb08ab94bf887d6602f72d4905c31f70c0fe227b /pkgs/development/compilers/rust/rustc.nix
parent1e0866e06483087059af91b7f296e0c5610f8848 (diff)
downloadnixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.tar
nixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.tar.gz
nixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.tar.bz2
nixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.tar.lz
nixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.tar.xz
nixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.tar.zst
nixlib-f6072d7b6ee8b96554cba0920bc1768e4c92adba.zip
rustc: disable lldb tests on darwin
Diffstat (limited to 'pkgs/development/compilers/rust/rustc.nix')
-rw-r--r--pkgs/development/compilers/rust/rustc.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix
index b05d04485880..f4004c01df22 100644
--- a/pkgs/development/compilers/rust/rustc.nix
+++ b/pkgs/development/compilers/rust/rustc.nix
@@ -99,6 +99,11 @@ stdenv.mkDerivation {
 
     # Useful debugging parameter
     # export VERBOSE=1
+  ''
+  + optionalString stdenv.isDarwin ''
+    # Disable all lldb tests.
+    # error: Can't run LLDB test because LLDB's python path is not set
+    rm -vr src/test/debuginfo/*
   '';
 
   preConfigure = ''