-
Notifications
You must be signed in to change notification settings - Fork 39
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
cachix: CppStdException "Exception: path '/nix/store/...' is not valid; type: nix::InvalidPath"
#106
Comments
Just got the same thing on a different job:
Here's the run. |
EDIT: in both of these cases I'm realizing that there were build errors in the job... My expectation was that nix would not leave partial file junk in /nix/store though? |
0.7.0 should fix this, I'll update the official url. |
i was wondering how to install cachix 0.7.0 using - name: Setup cachix
uses: cachix/cachix-action@v10
with:
(...)
installCommand: |
nix-env -if https://github.com/cachix/cachix/tarball/cachix-api-0.7.0 \
--substituters 'https://cache.nixos.org https://cachix.cachix.org' \
--trusted-public-keys 'cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=' |
installing cachix 0.7 as shown above doesn't solve my instance of the issue.
|
I've released 0.7.0 and it should be the default, does that work now? |
Tried again today with |
I'll look into this. |
I can also see this happening. I opened #111, which is related. |
We're seeing this, too:
EDIT: Using |
Anyone know of a workaround for this issue? I'm running into it on a GitHub action that ends up building GHC. It eventually times out. Then it hits this error and so every build needs to rebuild GHC and ends up timing out and failing. |
That's terrible experience. I'll prioritize this and look into it tomorrow! |
To reproduce:
Then in another terminal:
And finally:
|
This is now fixed in cachix/cachix#410 I'll make a release and let you know once it hits the channels! Thanks for reporting! |
Thanks so much @domenkozar! |
great news @domenkozar, thank you 🙌 |
I've released 0.7.1, once it reaches nixpkgs I'll publish it as official (hopefully in a few days). |
Tracking at NixOS/nixpkgs#179211 |
I'm seeing a weird error trying to use cachix-action.
Here's a link to the failed run: https://github.com/samuela/nixpkgs-upkeep/runs/4976168659?check_suite_focus=true.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: