diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2016-09-29 20:55:52 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2016-09-29 20:56:31 +0200 |
commit | fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf (patch) | |
tree | f57d4d6cff20b55fadfdd2ec691c2dbfa16d8d58 /pkgs | |
parent | 9cd8f032c5a3da30c1ceab38e4911e038b9084e0 (diff) | |
download | nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.tar nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.tar.gz nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.tar.bz2 nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.tar.lz nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.tar.xz nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.tar.zst nixlib-fcc1eb6f1cedafe5723fc4e669c39c13fa9b93bf.zip |
pyopenssl: fix darwin preCheck
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ca1647f21c83..67a769b11fd6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20332,9 +20332,7 @@ in modules // { sha256 = "88f7ada2a71daf2c78a4f139b19d57551b4c8be01f53a1cb5c86c2f3bf01355f"; }; - preCheck = stdenv.lib.optionalString stdenv.isDarwin '' - sed -i 's/test_numeric_string_x509_name_entry/noop/' tests/hazmat/backends/test_openssl.py - '' + '' + preCheck = '' sed -i 's/test_set_default_verify_paths/noop/' tests/test_ssl.py ''; @@ -20342,7 +20340,8 @@ in modules // { runHook preCheck export LANG="en_US.UTF-8"; py.test; - runHook postCheck''; + runHook postCheck + ''; buildInputs = [ pkgs.openssl self.pytest pkgs.glibcLocales ]; propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ]; |