Thank you, I totally forgot how nix-shell works. You're right, it should export the right env variables without makeWrapper.
I haven't used nixos in a while and I got confused about this because to install python packages globally I used `python3.withPackages` and that does use the wrappers.