Hi,
I’d like to have python3.6 available in nix.
The reason is that I need to build some python packages (wheels) for a centos 7 system that has a offline installer.
I see python3.6 was removed in this changeset: python36: remove · NixOS/nixpkgs@846e2b1 · GitHub
I hacked together a python3.6 build based on the above and some examples I found on stack overflow.
Without the “withPackages” function it seems to build python3.6 okay,
but as soon as I add the withPackages function, it just builds the default 3.10 again.
How does the withPackages function work? I don’t see it in the python source anywhere: https://github.com/NixOS/nixpkgs/blob/f8b026c478c5c2fdd558fc04ea307082ddc30e94/pkgs/development/interpreters/python/cpython/default.nix
Is there a way to build python 3.6 and still have some packages available in the environment?