Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're right about Python, is harder than it needs to be, it took me a while before I understood how it could be seamlessly integrated with it.

If it helps anyone, here's example where I put my Nix understanding to make it seamlessly usable: https://github.com/takeda/example_python_project

If you use direnv + lorri you just need to enter directory (if not just type nix-shell) and suddenly you have everything you need and the application is installed (try executing "hello" which will execute the python code, if you modify hello.py it immediately takes effect as if you were using "pip -e")

If you call "nix build" you'll get a result directory with "result/bin/hello" that just works as if it was a binary program (don't need to worry about dependencies)

I think nix needs a tooling that does all of the ground work of setting up dev environment for the most popular languages, because it gets really confusing.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: