~/talk

From Bash to Nix

Talkat LambdaConf 2024 · 2024-05-04..05-10· [devops-and-delivery]
slides:none on file

Claims that Nix replaces Bash as the project-level glue by making every entrypoint a reproducible Nix package and a single command. Demonstrates flakes with flake lock for reproducibility, uses runCommand and makeDerivation to produce real executables (runCommand + makeDerivation), composes many script-commands with symlinkJoin and a fixpoint pattern to self-reference, and actually builds and runs a Node server plus a pipeline that transpiles FP modules with Fable into Rust and runs the Rust CLI (fable to Rust transpilation). All examples build and run from the flake and from nix run on a GitHub repo.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Bash to Nix overview
  3. 5:23Flakes and reproducibility
  4. 10:23Command pattern in Nix
  5. 16:46Fix points and modularity
  6. 22:36SymlinkJoin and attributes
  7. 26:12Refining runCommand
  8. 28:42Pure and non-pure packages
  9. 31:15Command pattern demo
  10. 37:20Sharing commands across projects
  11. 39:07Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.