Hacker News new | ask | show | jobs
by alephu5 1985 days ago
A nix derivation can be converted directly into a docker image, you don't need a docker file at all. It's actually very simple and quite intuitive.

I wrote a blog post about doing this with python, but it's straightforward to generalise.

https://sotelo.dev/blog/nix-for-pythonistas