3
0
Fork 0
forked from mirrors/nixpkgs

Revert "sphinx_offline: init"

This reverts commit b75a20420b.
This commit is contained in:
Sandro Jäckel 2022-06-29 02:48:07 +02:00
parent 58ffd047e0
commit 33ca33b0ed
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -20967,23 +20967,6 @@ with pkgs;
sphinx = with python3Packages; toPythonApplication sphinx;
# A variation of sphinx that is only suitable for offline use as it excludes
# pyopenssl, which is broken on aarch64-darwin.
# https://github.com/NixOS/nixpkgs/issues/175875
sphinx_offline =
if !(stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isAarch64)
then sphinx
else
sphinx.override (o: {
requests = pkgsBuildTarget.python3Packages.requests.override (o: {
urllib3 = pkgsBuildTarget.python3Packages.urllib3.overrideAttrs (o: {
# urllib3 adds the optional pyopenssl to propagatedBuildInputs
# pkgs/development/python-modules/urllib3/default.nix
propagatedBuildInputs = [];
});
});
});
sphinx-autobuild = with python3Packages; toPythonApplication sphinx-autobuild;
sphinx-serve = with python3Packages; toPythonApplication sphinx-serve;