summary refs log tree commit diff
path: root/pkgs/development/libraries/ucommon/default.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-08-29 01:31:47 +0000
committerRobin Gloster <mail@glob.in>2016-08-29 01:31:47 +0000
commitbeff32f61e4e7b9f07c9bc8daaafff13dea28d24 (patch)
tree571fab6f6f7e11e0bcdce715b8952fc2c0b845a1 /pkgs/development/libraries/ucommon/default.nix
parent306cd03cdba889b34ebe539396a0ec2c2b20c8c1 (diff)
downloadnixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.tar
nixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.tar.gz
nixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.tar.bz2
nixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.tar.lz
nixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.tar.xz
nixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.tar.zst
nixpkgs-beff32f61e4e7b9f07c9bc8daaafff13dea28d24.zip
ucommon: disable flaky networking test
Diffstat (limited to 'pkgs/development/libraries/ucommon/default.nix')
-rw-r--r--pkgs/development/libraries/ucommon/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ucommon/default.nix b/pkgs/development/libraries/ucommon/default.nix
index 50d8f5e8745..4d140932402 100644
--- a/pkgs/development/libraries/ucommon/default.nix
+++ b/pkgs/development/libraries/ucommon/default.nix
@@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ pkgconfig ];
 
+  # disable flaky networking test
+  postPatch = ''
+    substituteInPlace test/stream.cpp \
+      --replace 'ifndef UCOMMON_SYSRUNTIME' 'if 0'
+  '';
+
   # ucommon.pc has link time depdendencies on -lssl, -lcrypto, -lz, -lgnutls
   propagatedBuildInputs = [ openssl zlib gnutls ];