Merge pull request #258223 from OroraTech/fix/propagated-sphinx

This commit is contained in:
Artturi
2023-10-13 07:18:12 +03:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
@@ -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