python3Packages.sphinxHook: Fix cross compilation

Failed due to using host sphinx instead of build one.
This commit is contained in:
Leandro Reina
2023-09-09 21:34:33 +02:00
parent 7548f17e61
commit a391639845
2 changed files with 3 additions and 5 deletions
@@ -221,9 +221,9 @@ in {
inherit (pkgs.buildPackages) makeWrapper;
};
sphinxHook = callPackage ({ makePythonHook, sphinx, installShellFiles }:
sphinxHook = callPackage ({ makePythonHook, installShellFiles }:
makePythonHook {
name = "python${python.pythonVersion}-sphinx-hook";
propagatedBuildInputs = [ sphinx installShellFiles ];
propagatedBuildInputs = [ pythonForBuild.pkgs.sphinx installShellFiles ];
} ./sphinx-hook.sh) {};
}