-
Notifications
You must be signed in to change notification settings - Fork 45
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
Observing a "does not appear to be a binary cache" problem with Nix 2.10 #418
Comments
We experienced the same issue after upgrading to nix |
Builds suddenly started taking hours for us, starting yesterday, I also see this message in GitHub Action logs:
Here's a snippet of our workflow file: steps:
- uses: actions/checkout@v2.3.4
- name: Install Cachix
uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Authenticate Cachix
uses: cachix/cachix-action@v10
with:
name: ****
authToken: '${{ secrets.CACHIX_READ_WRITE_TOKEN }}'
- name: check-format.sh
run: |
cachix watch-store **** &
nix-shell brittany.nix --run "./scripts/check-format.sh" |
I just started experiencing this as well. |
I ran in to this myself. Check your
If you change it to:
it may start working. I think this is related to curl/curl#8908, but I am uncertain. |
Related: curl/curl#9148 |
I've pushed a fix to https://hydra.nixos.org/eval/1771392#tabs-unfinished, hopefully @edolstra will make a new Nix release tomorrow. Workaround is to pin Nix: domenkozar/homelab@c7ab335 PS: it's better to report such issues to support@cachix.org for quicker turnaround. |
That fix was not enough, I created NixOS/nix#6807 |
It should be fixed, can you confirm? |
It is now working for me. |
I'm experiencing this with Eventhough:
|
@domenkozar Hey, I still see this message always. Is it to be expected? Does it mean that the cache is not used? |
Is the cache public? Can you contact support, there's quite a few variables in play here. |
I work on a project that uses
cachix-action
and a private binary cache for CI, and it has been working really well. Today, I observed some problems where the cache was not being picked up, specifically the "warning: XXX does not appear to be a binary cache" message. After some debugging, I noticed thatinstall-nix-action
was installing Nix 2.10 -- which was really unexpected because I didn't know it came out today just a few hours ago! The problem went away after the nix version was pinned to 2.9.2.I'm not sure whether this is a problem with Nix, cachix, or cachix-action, so I'd be happy to post this issue in a more appropriate place.
For reference, here is a version of the workflow file modified to remove any sensitive information:
The text was updated successfully, but these errors were encountered: