lol

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

authored by

Artturi and committed by
GitHub
183df628 2bcd37e6

+5 -2
+4 -1
pkgs/development/interpreters/python/hooks/default.nix
··· 227 sphinxHook = callPackage ({ makePythonHook, installShellFiles }: 228 makePythonHook { 229 name = "python${python.pythonVersion}-sphinx-hook"; 230 - propagatedBuildInputs = [ pythonForBuild.pkgs.sphinx installShellFiles ]; 231 } ./sphinx-hook.sh) {}; 232 }
··· 227 sphinxHook = callPackage ({ makePythonHook, installShellFiles }: 228 makePythonHook { 229 name = "python${python.pythonVersion}-sphinx-hook"; 230 + propagatedBuildInputs = [ installShellFiles ]; 231 + substitutions = { 232 + sphinxBuild = "${pythonForBuild.pkgs.sphinx}/bin/sphinx-build"; 233 + }; 234 } ./sphinx-hook.sh) {}; 235 }
+1 -1
pkgs/development/interpreters/python/hooks/sphinx-hook.sh
··· 38 39 for __builder in "${__sphinxBuilders[@]}"; do 40 echo "Executing sphinx-build with ${__builder} builder" 41 - sphinx-build -M "${__builder}" "${__sphinxRoot}" ".sphinx/${__builder}" -v 42 done 43 44 runHook postBuildSphinx
··· 38 39 for __builder in "${__sphinxBuilders[@]}"; do 40 echo "Executing sphinx-build with ${__builder} builder" 41 + @sphinxBuild@ -M "${__builder}" "${__sphinxRoot}" ".sphinx/${__builder}" -v 42 done 43 44 runHook postBuildSphinx