mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 23:33:30 +00:00
python3Packages.sphinxHook: Avoid propagating sphinx
Fixes some side effects of #249157 (see #255810)
This commit is contained in:
parent
c67f06b3f0
commit
48f25989c3
@ -227,6 +227,9 @@ in {
|
||||
sphinxHook = callPackage ({ makePythonHook, installShellFiles }:
|
||||
makePythonHook {
|
||||
name = "python${python.pythonVersion}-sphinx-hook";
|
||||
propagatedBuildInputs = [ pythonForBuild.pkgs.sphinx installShellFiles ];
|
||||
propagatedBuildInputs = [ installShellFiles ];
|
||||
substitutions = {
|
||||
sphinxBuild = "${pythonForBuild.pkgs.sphinx}/bin/sphinx-build";
|
||||
};
|
||||
} ./sphinx-hook.sh) {};
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ buildSphinxPhase() {
|
||||
|
||||
for __builder in "${__sphinxBuilders[@]}"; do
|
||||
echo "Executing sphinx-build with ${__builder} builder"
|
||||
sphinx-build -M "${__builder}" "${__sphinxRoot}" ".sphinx/${__builder}" -v
|
||||
@sphinxBuild@ -M "${__builder}" "${__sphinxRoot}" ".sphinx/${__builder}" -v
|
||||
done
|
||||
|
||||
runHook postBuildSphinx
|
||||
|
Loading…
Reference in New Issue
Block a user