this is pretty cool. it’s a tutorial with interactive exercises that explores the Nix language as a general-purpose functional programming language, outside of its role as the configuration and package definition language for NixOS. understanding Nix better as a language makes more complicated packages easier to write (and is necessary to understand the guts of nixpkgs and the parts of Nix written in itself), but it also has a number of unique advantages as a programming language within a very specific domain.

  • self@awful.systemsOPM
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    oh yeah, I love Nix but I’ve called it fucking incomprehensible (while recommending it) on here before. you can definitely still see its research roots in spite of all the improvements they’ve made, and flakes not being enabled by default is a travesty