-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
error building homepage on macos #515
Comments
It works on NixOS 20.03.2868.ff6a070b4ef with Nix 2.3.6. |
@davidak @bxrt this is a macos specific problem. Our current build system is quite complex since it even requires - sometimes - building Nix. There are few toolchains that are currently used to pull all of the different manuals in. We intentionally didn't put any effort into fixing this situation, not until the format and the tooling is decided for Nix/Nixpkgs/NixOS (in RFC #72). Once format and tooling is decided for documentation we will try to use it also for the website, just to keep things simple. Of-course if we will see that using those tools requires too much hacking around then we would look for something else. I would only tackle building on macos once we switch to new tooling, which would hopefully be easier to do. I hope you understand this, limited time and getting page in the best shape possible is a priority. But I would happily look at any PR if you decide to tackle this problem. @bxrt In the meantime either use some linux builder via docker or even give nixbuild.net a try. In the worse case you can submit the PR and see if it builds. |
maybe we should document how to build the docs in a docker container on macos? or wouldn't that work either for some reason? |
I had success building the docs in a docker on macOS. Prerequisite: Docker Desktop for Mac. Still in the terminal, but on the prompt of the running container:
Then browse to (@garbas, I can see why you would want to simplify the toolchain, building included building cargo (The Rust package manager) and the go compiler.) |
@bxrt could you add this to the README as an option when you are running on macos? |
Following the instructions on https://github.com/NixOS/nixos-homepage to build the homepage as a novice Nix user I get the following error:
This is on macOS.
The text was updated successfully, but these errors were encountered: