DavHau / mach-nix

Create highly reproducible python environments
MIT License
862 stars 106 forks source link

Confusing docs around mkPythonShell #486

Open mausch opened 2 years ago

mausch commented 2 years ago

Hi, I'm new to mach-nix. Thanks for this project!

https://github.com/DavHau/mach-nix/#advanced says mkPythonShell builds a python environment suitable for nix-shell. But then https://github.com/DavHau/mach-nix/blob/master/examples.md#using-mach-nix-only uses mkPython not mkPythonShell for a shell? So it's not very clear to me when to use each one.

Many thanks

IllustratedMan-code commented 2 years ago

As far as I know mkPythonShell is just a wrapper for mkPython using mkShell. It's only there for convenience.