Nix: Need an Ultra-Robust Dev Environment? Create an Immutable, Reproducible Env
summary
Shows how to build an immutable, reproducible development environment using Nix: a shell.nix dev shell that pins a Nixpkgs release and verifies sources via a sha256-checked GitHub revision. Demonstrates building derivations (a C program and the GitHub project “4images”), compiling and packaging a Java Maven project with JDK 17, running tests, and launching Eclipse with specified plugins to produce a pure dev environment on Linux/macOS.
AI-written summary · about
chapters (6)
- 0:00Nix introduction
- 2:26First steps with Nix
- 10:00First shell creation
- 14:33Writing a Nix package
- 23:46Complete Java environment example
- 29:48Conclusion and demo
related talks
59mReproducable environments using nix
15mBuilding Developer-Friendly Spaces: Nix in a Nutshell
05mReproducible Build Environments with Nix
30mReproducible work environments for data scientists using Nix
01h 03mNixOS
36mFunctional programming and Nix for reproducible, immutable infrastructure
06mNix: The declarative package manager
05mNix: A functional package manager for your C++ software stack
