I’m using flox-1.3.6 and I’m trying to install ghostty. I am being told that:
ERROR: resolution failed: constraints for group 'toplevel' are too tight
Use 'flox edit' to adjust version constraints in the [install] section,
or isolate dependencies in a new group with '<pkg>.pkg-group = "newgroup"'
However, I’m still getting the same error if I edit my environment and add:
Apparently trying to resolve ghostty for darwin systems always returns with “constraints to tight”.
I’m not sure yet why, my guess is that something’s up with the availability check.
Trying to build from upstream (github:ghostty-org/ghostty) seems to be unsupported on macos as well.
If you happen to be on linux, installing with install.ghostty.systems = ["x86_64-linux"] should work.
Just following up on this. The issue is that ghostty for darwin is marked as broken and we currently filter those out. Unfortunately, that information is not bubbled up to the CLI anywhere so there’s really no way to know that’s what the issue was. We have an open issue to add some additional diagnostic messages to resolution when there is a failure like this.
As @ysndr mentioned, limiting to linux systems should work for now as far as resolution goes, but that may or may not be helpful to you. If you want to try it on macos anyway, you can add allow.broken = true under [options] in your manifest using flox edit and try installing it. Considering the build seems to be unsupported on macos upstream, and how fresh the package is, I’m guessing it will likely fail.