From f3fc04bfd2cc3889236d7b31e8555a319f0a74d5 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 31 Jul 2018 21:46:07 -0400 Subject: [PATCH] llvm6: disable tests on cross compiler This seems to be broken currently. https://hydra.nixos.org/build/77597880/nixlog/1 /cc @ericson2314 @dtzWill --- pkgs/development/compilers/llvm/6/llvm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/6/llvm.nix b/pkgs/development/compilers/llvm/6/llvm.nix index 4d981398b9a..f95e19543a1 100644 --- a/pkgs/development/compilers/llvm/6/llvm.nix +++ b/pkgs/development/compilers/llvm/6/llvm.nix @@ -130,7 +130,8 @@ in stdenv.mkDerivation (rec { ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib ''; - doCheck = stdenv.isLinux && (!stdenv.isi686); + doCheck = stdenv.isLinux && (!stdenv.isi686) + && (stdenv.hostPlatform == stdenv.targetPlatform); checkTarget = "check-all";