This is a result from python.section.md and it has a lack of full explanation. For me its kinda reminder how to start.
- Global installation of Python in
configuration.nixinenvironment.systemPackageswith e.g.(python36.withPackages(ps: with ps; [ numpy ]))here i chose python 3.6 any ohter version should work that way. - Create a nix expression like
python.nixwith all dependencies for Python:
with import <nixpkgs> {};
(python35.withPackages (ps: [ps.numpy ps.toolz])).env