From 6640fe2e1e6b7f42fbf3a0c0648428c31c830c6e Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 7 Feb 2017 08:48:40 +0100 Subject: [PATCH] pythonPackages.sphinx: fix make-mode, fixes #22501 --- pkgs/top-level/python-packages.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 51703404ac4c..ddf5afaf5e5e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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/;