Building Python in a nix-shell with pyenv

Have a look at Nixpkgs-python: use any Python using Nix which might spare you some work and CPU time.

1 Like