Made overly elaborate example of a ‘Hello World’ package with Nix flakes, OCaml, and Dune: github.com/brendanzab/oca
Disclaimer: I'm a beginner at Nix and I've never really used OCaml or Dune before so if you know these, please tell me if I am doing anything silly. 🥴
Conversation
Turning stuff into Nix thingies kind of makes the terribleness of OPAM a bit nicer I think… at least I don't have to deal with the statefulness of it anymore which really bugged me. Just worry about losing empathy with those who haven't bought into the world of nix+direnv…
Replying to
I'm really liking how direnv+vscode-direnv means I don't need to have to mess around with brittle editor settings anymore. That's super nifty. Now VS Code just uses whatever tools I'm using in my development shell for that specific directory.
1
6
