@@ -62,10 +62,10 @@ if disabled then throw "${name} not supported for interpreter ${python.executabl
6262 ] ++ buildInputs ++ pythonPath
6363 ++ (lib.optional (lib.hasSuffix "zip" attrs.src.name or "") unzip);
6464
65− # propagate python to active setup-hook in nix-shell
66− propagatedBuildInputs = propagatedBuildInputs ++ [ recursivePthLoader python ];
65+ # propagate python/setuptools to active setup-hook in nix-shell
66+ propagatedBuildInputs = propagatedBuildInputs ++ [ recursivePthLoader python setuptools ];
6767
68− pythonPath = [ setuptools ] ++ pythonPath;
68+ pythonPath = pythonPath;
6969
7070 configurePhase = attrs.configurePhase or ''
7171 runHook preConfigure