Comments (2)
Nix doesn't fsync
changes to the Nix store by default (see the option sync-before-registering
). So in case of a system crash, manifest.json
can show up as a zero-byte file. You can check for this kind of corruption by doing nix store verify -v ~/.nix-profile
.
from nix.
Thanks! verify -v ~/.nix-profile
actually confirmed a corrupt store path. Nice to learn about the sync-before-registering
, I'll try this! As far as I understand it, with that option set to false, the possiblity of this kind of corruption is expected and not a bug, right?
from nix.
Related Issues (20)
- config.h is missing following the hacking guide: HOT 2
- Failed installation on Ubuntu 22.04 1 LTS HOT 1
- Test build-remote-trustless-should-pass-2.sh fails. (Filename Too Long) HOT 1
- `builtins.fetchTarball` with a single-file tarball produces an empty derivation HOT 3
- fetcher cache sqlite error: table Cache has no column named domain HOT 2
- "Alternate FOD" for fixed output derivation that fails, mirror-like behavior
- Settings aliases are not supported as flags, while their "real" names are HOT 1
- nix-prefetch-url: support SRI hashes directly HOT 2
- Error: could not set permissions on '...' to 755: Operation not permitted when using experimental local overlay store HOT 4
- "attributes elided" placeholder's count can underflow
- Machine readable nix why-depends HOT 1
- `SourceAccessor::readFile` should be streaming in constant memory HOT 1
- [2.23.1] nix sandbox broken on darwin HOT 5
- Upgrading to current nix master corrupted my db HOT 1
- DNS resolution breaks on NixOS when having static resolv.conf HOT 3
- Outputs from another flake is current flake's outputs HOT 5
- Nix remote store commands (ping, copy etc..) don't work with Fish shell HOT 6
- Shallow fetches of specific revs do not work with all servers
- Installing darwin specific installer fails HOT 1
- FFI issue: missing `flake/flake.hh` in API exposed in `include/nix` HOT 3
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.