-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
My nix queries /nar/<hash>-<name>.narinfo, not just /<hash>.narinfo #120
Comments
Sadly, this workaround didn't work for me on 2.16 (nix-serve doesn't work either for some reason). A new URL format seems to have been added again, this time it looks like Edit: it seems to be implemented here |
Out of curiosity, was this a case where you did a drop in replacement of nix-serve -> harmonia? What I found after doing that was that the harmonia-backed cache worked fine in fresh environments like new containers, but it was a problem for existing installs that seemed to have cached the |
Hm, solid theory! I've removed the redirect now (~5 days later) and I can't reproduce the issue anymore. |
I don't see these types of queries and I also don't see in the nix code base any code that would generate We are testing now with nix 2.17 and I don't see any issues. |
That sounds like a narinfo caching artifact. To quote the documentation from |
For .nar urls this makes sense but not for .narinfo files |
My nix 2.15.1 queries
/nar/<hash>-<name>.narinfo
for some reason, so I had to(It was worth to set it up though, I've seen ~10x speedups in synthetic local tests vs whatever's built into hydra.)
The text was updated successfully, but these errors were encountered: