Conversation

You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
Yeah, this is what I gets me frustrated about OPAM coming from Cargo. I get now that I can use switches and direnv to emulate a similar behaviour, but expecting somebody to know that from the start annoying. I had to read a random post on the OCaml forum to learn that.
3
2
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
Yeah I feel like every time I learn it I bounced off hard. But yeah, now I'm learning Nix - which is an even more beginner hostile thing, but hopefully has better payoff long term wrt. reproducibility and isolation than trying to get my head around OPAM 😅
1
1
This is an experiment at getting OCaml set up with Nix: twitter.com/brendanzab/sta I still consider it to be an "advanced workflow" as Nix is even less well documented than OPAM's stuff, but yeah, I thought I'd at least try to help matters by making it public.
Quote Tweet
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. 🥴
Show this thread
1
1