python: fix modules in buildEnv, closes #16646

Python 2.7 on Nix is stripped of some modules, which can be added when
needed. This was broken with python.buildEnv.

+3
+3
pkgs/development/interpreters/python/2.7/default.nix
··· 193 193 194 194 buildInputs = [ python ] ++ deps; 195 195 196 + # We need to set this for python.buildEnv 197 + pythonPath = []; 198 + 196 199 inherit (mkPaths buildInputs) C_INCLUDE_PATH LIBRARY_PATH; 197 200 198 201 # non-python gdbm has a libintl dependency on i686-cygwin, not on x86_64-cygwin