question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`cachix: CppStdException "Exception: path '/nix/store/...' is not valid; type: nix::InvalidPath"`

See original GitHub issue

I’m seeing a weird error trying to use cachix-action.

/home/runner/work/_actions/cachix/cachix-action/v10/dist/main/push-paths.sh /home/runner/.nix-profile/bin/cachix ploop 
cachix: CppStdException "Exception: path '/nix/store/ab3yh7s8rms16b66jlbbzvjaif94ls93-python3.9-apache-beam-2.35.0' is not valid; type: nix::InvalidPath"
Error: Action failed with error: Error: The process '/home/runner/work/_actions/cachix/cachix-action/v10/dist/main/push-paths.sh' failed with exit code 1

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?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
domenkozarcommented, Jun 27, 2022

This is now fixed in https://github.com/cachix/cachix/pull/410

I’ll make a release and let you know once it hits the channels!

Thanks for reporting!

2reactions
domenkozarcommented, Feb 14, 2022

0.7.0 should fix this, I’ll update the official url.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cachix: CppStdException "Exception: path '/nix/store/xxxx ...
I'm trying to migrate to cachix v6 and am running into the following error: ... "Exception: path '/nix/store/xxxx-install' is not valid #44.
Read more >
Cachix & Nix Install actions for GitHub - NixOS Discourse
Released cachix-action-v2 with the following changes: fix cachix: CppStdException "Exception: path '/nix/store/... ' is not valid; type: nix:: ...
Read more >
Frequently Asked Questions - Cachix documentation
Why is Nix not picking up on any of the pre-built artifacts? Is there a way to cache nix-shell ? How to disable...
Read more >
cachix/Lobby - Gitter
quick question: is there an easy well to tell cachix not to push things that are already hosted on ... does not have...
Read more >
Using nix-store --restore to install sources - Stack Overflow
git/ I am baffled why nix is rebuilding a store path that is extant and has the requested hash. I tried repairing the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found