Comments (5)
I don't get this issue if I switch from compression=zstd
to compression=gzip
and overwrite the cache. So I think it is an issue specific to using zstd with a cache.
from nix.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2024-08-12-nix-team-meeting-minutes-168/50561/1
from nix.
Discussed during aforementioned Nix maintainers meeting:
We have a test for zstd compression for a binary cache
If this were HTTP, I would ask the following. S3 should be analogous.
What does curl http(s)://your-cache.local/l59dvqj9lbm2n5agfx19hxbm2qlq4w0g.narinfo
return?
It should provide you with a nar.zstd
filename.
If you download that, is it in the correct file format?
Possibly related: #7712
from nix.
Possibly related: #7712
My PR was about http transport encoding (this is transparent to nix as curl handles it i.e. it should not appear in narinfo either), but the person here uses zstd compression on the content itself.
from nix.
If I find some time, I'll see if I can reproduce using minio. Unfortunately, my main specimen was serving production use cases and I already did the cache surgery, so I can't easily grab that info you are requesting.
from nix.
Related Issues (20)
- Error installing nix in macbook Pro M3 with macOS15 beta 24A5309e HOT 1
- Output faulty element's value too for easy diagnosis
- Build of nix hangs due to gc-auto test
- coredump while printing env from the debugger
- install failed HOT 1
- External Links Should Open in a New Tab
- Build of Nix fails with error: home directory '/homeless-shelter' exists
- https://nix.dev/manual/nix/latest points to 2.23 HOT 1
- nix command unavailable after a switch HOT 2
- nix flake templates are not evaluated properly HOT 4
- space out the output of "building ..." in `nixos-rebuild`
- RemoteStore creates a lot of threads
- Nix devshell build broken
- nix build --rebuild doesn't work with CA derivations
- After restoring from a Time Machine backup, I can no longer reinstall Nix HOT 3
- Error running install script HOT 1
- Alias `nix store optimize` to `nix store optimise` HOT 1
- `--refetch-fixed-outputs` option HOT 2
- Nix-shell seg faults on empty nix file
- Possible to use COMP_WORDBREAKS here?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.