summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-06-08 07:57:16 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-06-08 10:55:02 +0100
commit47529594e4dbc02ab31d30df608bff0cc991b869 (patch)
tree4f1608e8e9b9c2242f92b4d319e24aed0e1124f4 /pkgs/development/compilers/rust/default.nix
parent2f79089553bb9324acb292050ab34cfa09e20051 (diff)
downloadnixlib-47529594e4dbc02ab31d30df608bff0cc991b869.tar
nixlib-47529594e4dbc02ab31d30df608bff0cc991b869.tar.gz
nixlib-47529594e4dbc02ab31d30df608bff0cc991b869.tar.bz2
nixlib-47529594e4dbc02ab31d30df608bff0cc991b869.tar.lz
nixlib-47529594e4dbc02ab31d30df608bff0cc991b869.tar.xz
nixlib-47529594e4dbc02ab31d30df608bff0cc991b869.tar.zst
nixlib-47529594e4dbc02ab31d30df608bff0cc991b869.zip
rustc: disable test-inherit-env
This fails on hydra on x86_64 for unknown reason.
Diffstat (limited to 'pkgs/development/compilers/rust/default.nix')
-rw-r--r--pkgs/development/compilers/rust/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix
index e6caebe88bfe..44b43a7af542 100644
--- a/pkgs/development/compilers/rust/default.nix
+++ b/pkgs/development/compilers/rust/default.nix
@@ -16,7 +16,14 @@ in rec {
   rustc = callPackage ./rustc.nix {
     inherit stdenv llvm targets targetPatches targetToolchains rustPlatform version src;
 
-    patches = [ ./patches/net-tcp-disable-tests.patch ./patches/stdsimd-disable-doctest.patch ];
+    patches = [
+      ./patches/net-tcp-disable-tests.patch
+      ./patches/stdsimd-disable-doctest.patch
+      # Fails on hydra - not locally; the exact reason is unknown.
+      # Comments in the test suggest that some non-reproducible environment
+      # variables such $RANDOM can make it fail.
+      ./patches/disable-test-inherit-env.patch
+    ];
 
     forceBundledLLVM = true;