Advertisement

Your Ad could be here. I want to connect my readers to relavant ads. If you have a product targeted at developers, let's talk. [email protected]

I recently started playing with nix.

goals

  • automatically select correct python version per project
  • activating one doesn't bleed into the other

Installing nix


curl -L https://nixos.org/nix/install | sh

controlling nix-env


nix-env -iA nixpkgs.python310
nix-env -iA nixpkgs.python39
nix-env -iA nixpkgs.python38
nix-env -iA nixpkgs.python37

searching for packages

https://search.nixos.org/


nix-env -qaP .\*python.\*

nix search nixpkgs python

shell


nix-shell -p python39