summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-06-06 20:18:13 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-06-06 20:18:46 +0200
commitc5d1f8f313433154b80753b46a5de7fb3738e4b3 (patch)
treeb0213773ad0d0cc759d8430a0e867f6c334a0c0c /pkgs
parent810e6759c23c8e1a71bc0963e712757327c91911 (diff)
downloadnixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.tar
nixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.tar.gz
nixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.tar.bz2
nixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.tar.lz
nixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.tar.xz
nixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.tar.zst
nixlib-c5d1f8f313433154b80753b46a5de7fb3738e4b3.zip
rust: fix test condition in tcp patch
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch b/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
index 70a91ceb9d97..10713b6b7aa9 100644
--- a/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
+++ b/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
@@ -98,7 +98,7 @@ index 0f60b5b3e..9b08415e7 100644
      }
  
      #[test]
-+    #[cfg_attr(target_os = "linux", target_os = "macos", ignore)]
++    #[cfg_attr(any(target_os = "linux", target_os = "macos"), ignore)]
      fn connect_timeout_unroutable() {
          // this IP is unroutable, so connections should always time out,
          // provided the network is reachable to begin with.