OpenBSD + Nix is now a thing

We can also cross compile OpenBSD binaries now!

Nixpkgs branch: GitHub - obsidiansystems/nixpkgs at openbsd-rollup (will be making PRs from here and force pushing it, be warned)

Command:

nix-build --arg crossSystem '{ system = "x86_64-openbsd"; isStatic = true; }' -A hello

Chat room: #nix-openbsd:tapenet.org which already existed, thanks to @qbit who previous took a stab at at this, and more recently answered many questions. Let’s revive it!

22 Likes