u/MagnusSedlacek

▲ 17 r/NixOS

Using Nix for CI - Builds as Pure Functions by Moritz Jørg at Func Prog Sweden

The quintessential CI pipeline is a shell script wrapped in YAML, running inside a Docker image that silently changes underneath you. But, as all practitioners of Docker-based CI secretly know, a disturbing number of failures come down to environment variance, not actual bugs. In this talk, we will trace the migration of a real F# and Rust application from GitLab CI through self-hosted Forgejo to Garnix, replacing mutable Docker images with content-addressed derivations, as well as replacing 200 lines of workflow YAML with `nix flake check`. The talk assumes no Nix background, only a passing familiarity with pure functions.

youtu.be
u/MagnusSedlacek — 16 hours ago