-
-
Notifications
You must be signed in to change notification settings - Fork 41
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 in the Nix flakes build system #275
Comments
The
Including
|
@locallycompact Any chance we could unlock this situation? |
So there's no way I can test on darwin myself, but it looks to me like BNFC is missing from the package set. If we add it to the overides alongside flora in the flake.nix in this repository, does that help? |
@bcardiff Would this help? |
I am not exactly sure what patch should be applied to try things. Specially since it seems to involve multiple repos. I can test things in x86 and M1 in macOS if directions are given. |
Turns out souffle package is broken in darwin. I've just sent NixOS/nixpkgs#208373 in case it turns out useful. |
Ok so the reason for this error is because of some default values for arguments in make-package-set, I've fixed those upstream https://gitlab.homotopic.tech/horizon/horizon-platform/-/blob/master/flake.nix#L41-43 I have no way of testing if this builds though and also the IFD causes evaluation errors on linux now, because it can't build cabal2nix for darwin, but here is a branch that should at least evaluate on darwin now, please let me know if it builds. |
Thanks @locallycompact . This is the error I got from 51ae968 in aarch64-darwin
|
If this gets revived/revisited at some point (maybe after #369), for the record: IIRC on |
Currently, macOS doesn't seem to be supported in the Nix build system.
@locallycompact, @bcardiff PRs are very welcome on this issue.
The text was updated successfully, but these errors were encountered: