A sack full of angry snakes: Taming your python dependencies with Nix
summary
Claims that Nix reproduces exact Python stacks by hashing full dependency closures and compiler toolchains, can pin channels to a commit for identical builds, and produces sealed build environments that exclude undeclared files. Demonstrates integration with C libraries, generational rollbacks, and creating minimal Docker or VM images. Shows tooling like poetry2nix and mach-nix, cites Nixpkgs size (~40k packages, ~3k Python packages), and explains whether builds are repeatable and deployable.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:02History of Python packaging
- 2:49Evolution of tools
- 5:15Unsolved dependency issues
- 7:11Native and system issues
- 8:50Reproducibility challenges
- 12:23Introduction to Nix
- 14:09Nix basics
- 16:18Managing packages
- 18:12Development environments
- 20:53Python and Nix integration
- 22:43Resources and conclusion
related talks
29mReproducible Python projects using Nix
30mReproducible work environments for data scientists using Nix
05mNix: A functional package manager for your C++ software stack
59mReproducable environments using nix
01h 03mNixOS
40mBut It Builds on My Machine!: Building Deterministic OCI Images With Nix
06mNix: The declarative package manager
21m"I use NixOS btw..." Learnings from 2 years daily driving NixOS
