From 332b9dedc87b364a652c80aca675cd5282268519 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Sun, 3 Jun 2018 16:56:17 -0400 Subject: [PATCH] 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. --- pkgs/development/compilers/rust/rustc.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: