Comments (5)
I think we just met a very specific instance of this. We upgraded our hydra which now hands out nars using xz. Our clients' binary cache database still contain the information from narinfos that were generated with the old hydra telling them they should expect bz2 compressed data.
I haven't seen any obvious part of the code that would be able to validate this automatically. For now we'll likely just scrap our binary cache databases once, but from a usability perspective those upgrades should manage themselves. Happy to help if you point me in the right direction.
from nix.
I thought manifests were dead?
from nix.
Indeed.
from nix.
For clarification and people who may stumble over this in the future: I guess I wasn't aware that narinfo != manifest, right?
from nix.
@ctheune correct, manifest were for binary diffing so you didn't need to download the whole store path on "upgrade".
from nix.
Related Issues (20)
- `nix build` breaks inside `nix develop`
- install.in: fails to run the installer with `noexec` HOT 2
- `nix build --system` don't use remote builder HOT 6
- `StoreReference` -> `<Name>StoreConfig` -> `<Name>Store` HOT 1
- Error when installing Nix on my linux distro: useradd: UID 30012 is not unique HOT 2
- Add `:doc` to repl with `nix-doc`
- Crash with static nix if HOME is owned by a different user HOT 2
- `fetchGit` with a fixed rev and no ref repeatedly hits the network HOT 1
- Build error: no matching conversion for functional-style cast from 'std::string' HOT 2
- Include a sysusers config file and a user tmpfiles config file HOT 3
- Renaming a vcs/flake controlled directory doesn't correctly update the store
- Have our cake and eat it too derivation metadata HOT 2
- SSL certificate path does not propagate to builds during `nix-build` HOT 10
- Test repl completions HOT 4
- Removing static IP Configuration doesnt initiate dhcp renewal HOT 1
- the documentation of `nix_setting_get` requires calling `nix_libutil_init`, which achieves nothing HOT 1
- Issue with nix installation - syntax error *env-manifest.next1:1 HOT 5
- Get all shell scripts passing shellcheck HOT 2
- Poor performance of `nix build --debugger` HOT 3
- LocalStore does not set up or sanitize its build environment correctly HOT 4
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.