I spend last the two weeks immersed in and , and learned:

1. How to write Nix config for a Haskell project from scratch (abhinavsarkar.net/posts/nix-fo).
2. How to create static executables with Nix for Haskell code.
3. How to build Docker images with Nix.
4. How to run a Linux builder for Nix on Macos.
5. How to use the Linux builder to build and deploy to Nixos machines from Macos.

All of these have been on my mind for months, and it’s nice to finally figure it all out.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://fantastic.earth/users/abnv/statuses/113105951262394387 on your instance and quote it. (Note that quoting is not supported in Mastodon.)