I want to start a new project, and I want to try to handle all the reproducibility / "containerization" in nix instead of dockerfiles. I see some examples online but I think they're including more uncommon procedures and/or don't do things the "nix" way.
What's the right way to manage a simple python project? Should I just make a derivation.nix for use in nix-shell -p and have the ephemeral shell be my container? Can/should I do it with nix flakes instead? What would a simple nix flake look like that:
pulls an initial python repo from github
possibly executes whatever build instructions might be included
extends other system packages or other versions of the same python package,
has local area network access,
and GPU access
You must log in or register to comment.