pythonPackages.pyopenssl: disable tests on Darwin
This commit is contained in:
parent
e3cb24d1e0
commit
8e61b7fefa
@ -21540,11 +21540,15 @@ in {
|
|||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
export LANG="en_US.UTF-8";
|
export LANG="en_US.UTF-8"
|
||||||
py.test;
|
py.test
|
||||||
runHook postCheck
|
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 ];
|
buildInputs = [ pkgs.openssl self.pytest pkgs.glibcLocales ];
|
||||||
propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ];
|
propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user