Minimal example of using python3Packages.venvShellHook with nix flakes to be able to pip install
packages in a development environment.
Start an interactive shell within the development environment:
nix develop --command ipython --pylab
Run a script within the development environment:
nix develop --command python main.py
Update the flake.lock file:
nix flake update --commit-lock-file