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-11 unsupported? #96

Closed
miuirussia opened this issue Sep 21, 2021 · 12 comments
Closed

macos-11 unsupported? #96

miuirussia opened this issue Sep 21, 2021 · 12 comments

Comments

@miuirussia
Copy link

miuirussia commented Sep 21, 2021

As described, macos-latest will be upgraded to Big Sur (macos-11) (actions/runner-images#4060). I upgraded my workflow to macos-11 (for testing) and then get error:

image

You can see full log here:

https://github.com/miuirussia/nix-flake-env/runs/3666559886?check_suite_focus=true

@domenkozar
Copy link
Member

You need the latest Nix from master.

@miuirussia
Copy link
Author

It doesn't pass the tests

@domenkozar
Copy link
Member

Do you mean CI? It has a flaky test on macOS.

@miuirussia
Copy link
Author

miuirussia commented Sep 24, 2021

Yes, here: https://hydra.nixos.org/jobset/nix/master

I use automatic nix install script update: https://github.com/miuirussia/nix-unstable-installer, that updates, when evaluation of nix:master jobset is success

@miuirussia
Copy link
Author

miuirussia commented Sep 24, 2021

Maybe problem here:

sudo mdutil -i off /nix
?

@domenkozar
Copy link
Member

Latest commit succeeds: NixOS/nix@362d8f9

@miuirussia
Copy link
Author

miuirussia commented Sep 24, 2021

But on hydra not succeed: https://hydra.nixos.org/jobset/nix/master because of this, the binaries were not released

as result, install script will fail when try to download for example:
https://releases.nixos.org/nix/nix-2.4pre20210922_bcd73eb/nix-2.4pre20210922_bcd73eb-x86_64-darwin.tar.xz

@miuirussia
Copy link
Author

miuirussia commented Sep 24, 2021

And, as I understand from log: https://github.com/miuirussia/nix-flake-env/runs/3666559886?check_suite_focus=true, installer script worked correctly without errors. Problem in install-nix.sh from this action, because spotlight indexing in unknown state (maybe disabled for github runners)

@domenkozar
Copy link
Member

This was fixed in NixOS/nix#5281

I've changed the recommended installer in 791347c

@shonfeder
Copy link

shonfeder commented Oct 15, 2021

We are hitting the same problem, despite using the latest installer recommended: https://github.com/informalsystems/apalache/runs/3908711785?check_suite_focus=true#step:4:927

As a temporary workarond, we've pinned the macos runner to macos-10.15.

Please let me know if I may be missing something, or if you'd like me to open a new issue. 🙏

shonfeder pushed a commit to apalache-mc/apalache that referenced this issue Oct 15, 2021
@domenkozar
Copy link
Member

Try upgrading to cachix/[email protected]

@shonfeder
Copy link

That's working! Thanks :) Sorry I missed that.

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

3 participants