mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.sphinxHook: Fix cross compilation
Failed due to using host sphinx instead of build one.
This commit is contained in:
parent
7548f17e61
commit
a391639845
@ -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) {};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user