path '/nix/store/{b32}-headscale-{rev}-go-modules' is not valid; type: nix::InvalidPath
See original GitHub issueAny ideas?
Post job cleanup.
Cachix: push
/home/runner/work/_actions/cachix/cachix-action/v10/dist/main/push-paths.sh /home/runner/.nix-profile/bin/cachix colemickens
cachix: CppStdException "Exception: path '/nix/store/zlrdfi88khbzy5s0p22ixgib1bmlyn0k-headscale-3cf599be6493e0e3d58a3671f8f7694f4304e576-go-modules' 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
Seems to be repeatable, and shouldn’t have anything to do with GC occurring.
If it could be related, I might be creating invalid nix store paths when i fake sha256s and then use the error to update them?
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (12 by maintainers)
Top Results From Across the Web
Post request failing with Invalid file path error - java
This is caused by a known JDK bug, that I was able to reproduce under JDK 11.0.15 and JDK 17.0.3 in Windows. To...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Jumping in a bit late here, but I ran into the same issue while using
nix-prefetch
(https://github.com/msteen/nix-prefetch/issues/23). I think the fundamental problem here is in list-nix-store.sh.The paths are computed by just listing what’s under
/nix/store
, which may include partial builds. I believe the correct thing to do is to instead parse the output ofnix-store --dump-db
. That appears to fix the issue for me.I need to fix a few more things.