diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-06-03 16:56:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 16:56:17 -0400 |
commit | 332b9dedc87b364a652c80aca675cd5282268519 (patch) | |
tree | d5e06bb8f9a235127a267e7c4693cddc0c308b7e | |
parent | 93cb47a2fc93637b4c5a92f2648e53c5b0de00c9 (diff) | |
download | nixlib-332b9dedc87b364a652c80aca675cd5282268519.tar nixlib-332b9dedc87b364a652c80aca675cd5282268519.tar.gz nixlib-332b9dedc87b364a652c80aca675cd5282268519.tar.bz2 nixlib-332b9dedc87b364a652c80aca675cd5282268519.tar.lz nixlib-332b9dedc87b364a652c80aca675cd5282268519.tar.xz nixlib-332b9dedc87b364a652c80aca675cd5282268519.tar.zst nixlib-332b9dedc87b364a652c80aca675cd5282268519.zip |
rust: disable tests on darwin
See https://github.com/rust-lang/rust/issues/51006 Tests frequently fail on Darwin. Not sure why but it's easier to just disable for now.
-rw-r--r-- | pkgs/development/compilers/rust/rustc.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index 19c4a590e454..277ffda20afd 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -10,7 +10,11 @@ , targets , targetPatches , targetToolchains -, doCheck ? true + +# Tests frequently break on Darwin +# See the rust issue: https://github.com/rust-lang/rust/issues/51006 +, doCheck ? (!stdenv.isDarwin) + , broken ? false , buildPlatform, hostPlatform } @ args: |