Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS support #21

Closed
aydwi opened this issue Jul 31, 2022 · 1 comment
Closed

macOS support #21

aydwi opened this issue Jul 31, 2022 · 1 comment

Comments

@aydwi
Copy link

aydwi commented Jul 31, 2022

The build system does not support compiling to UNIX like OSs like macOS. The prebuilt binaries are also only distributed for Linux. This makes working with hdoc impossible on macOS.

Are there plans to support it?

@hdoc
Copy link
Owner

hdoc commented Jul 31, 2022

hdoc compiles and runs on macOS using the Nix Flake supplied in this repository. We don't officially support it, but we do have internal builds that run macOS, and we've had the capability for years. We have plans to add macOS support eventually.

In the meantime, I would encourage you to use the Nix Flake to build hdoc. The instructions for Linux in the README should also work on macOS, assuming you're using the Flake to set up your development environment. I believe the only change that needs to be made is substituting all instances of x86_64-linux for aarch64-darwin (for Apple Silicon Macs) or x86_64-darwin (for Intel-based Macs) in flake.nix.

@hdoc hdoc closed this as completed Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants