Using Nix to manage my Python Interpreter
I recently started playing with nix.
goals # [1]
- automatically select correct python version per project
- activating one doesnโt bleed into the other
Installing nix # [2]
curl -L https://nixos.org/nix/install | sh
controlling nix-env # [3]
nix-env -iA nixpkgs.python310
nix-env -iA nixpkgs.python39
nix-env -iA nixpkgs.python38
nix-env -iA nixpkgs.python37
searching for packages # [4]
https://search.nixos.org/
nix-env -qaP .\*python.\*
nix search nixpkgs python
shell # [5]
nix-shell -p python39
References:
[1]: #goals
[2]: #installing-nix
[3]: #controlling-nix-env
[4]: #searching-for-packages
[5]: #shell