pythonPackages.sphinx: fix make-mode, fixes #22501

This commit is contained in:
Frederik Rietdijk 2017-02-07 08:48:40 +01:00
parent 651d5019bc
commit 6640fe2e1e

View File

@ -24480,6 +24480,13 @@ in {
imagesize
requests2
];
# https://github.com/NixOS/nixpkgs/issues/22501
# Do not run `python sphinx-build arguments` but `sphinx-build arguments`.
postPatch = ''
substituteInPlace sphinx/make_mode.py --replace "sys.executable, " ""
'';
meta = {
description = "A tool that makes it easy to create intelligent and beautiful documentation for Python projects";
homepage = http://sphinx.pocoo.org/;