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

View File

@ -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) {};
}

View File

@ -1350,9 +1350,7 @@ self: super: with self; {
beautiful-date = callPackage ../development/python-modules/beautiful-date { };
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 {
inherit (python.pythonForBuild.pkgs) sphinxHook; # hook splicing broken since #194205
};
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
beautifultable = callPackage ../development/python-modules/beautifultable { };