diff options
author | Dan Peebles <pumpkin@me.com> | 2017-03-09 21:56:54 -0500 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-03-09 21:56:54 -0500 |
commit | 8e61b7fefa836bc73f3454c79655275c8d829e37 (patch) | |
tree | 04e78056ea2355372f350c67dbd8e0c1fecb3597 /pkgs | |
parent | e3cb24d1e0a83a09684cb3298cc222cad63d283c (diff) | |
download | nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.tar nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.tar.gz nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.tar.bz2 nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.tar.lz nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.tar.xz nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.tar.zst nixlib-8e61b7fefa836bc73f3454c79655275c8d829e37.zip |
pythonPackages.pyopenssl: disable tests on Darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4dbb61cc4568..069a10cdba52 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -21540,11 +21540,15 @@ in { checkPhase = '' runHook preCheck - export LANG="en_US.UTF-8"; - py.test; + export LANG="en_US.UTF-8" + py.test runHook postCheck ''; + # Seems to fail unpredictably on Darwin. See http://hydra.nixos.org/build/49877419/nixlog/1 + # for one example, but I've also seen ContextTests.test_set_verify_callback_exception fail. + doCheck = !stdenv.isDarwin; + buildInputs = [ pkgs.openssl self.pytest pkgs.glibcLocales ]; propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ]; }; |