diff --git a/pkgs/development/interpreters/python/hooks/default.nix b/pkgs/development/interpreters/python/hooks/default.nix index 74aff43f7caee..306c33a91fdd0 100644 --- a/pkgs/development/interpreters/python/hooks/default.nix +++ b/pkgs/development/interpreters/python/hooks/default.nix @@ -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) {}; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 97704fc3e5325..1366a150f5bea 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };