Add a --repair flag to ‘nix-store -r’ to repair derivation outputs
With this flag, if any valid derivation output is missing or corrupt, it will be recreated by using a substitute if available, or by rebuilding the derivation. The latter may use hash rewriting if chroots are not available.
Showing
- src/libstore/build.cc 94 additions, 59 deletionssrc/libstore/build.cc
- src/libstore/local-store.cc 10 additions, 0 deletionssrc/libstore/local-store.cc
- src/libstore/local-store.hh 5 additions, 1 deletionsrc/libstore/local-store.hh
- src/libstore/remote-store.cc 2 additions, 1 deletionsrc/libstore/remote-store.cc
- src/libstore/remote-store.hh 1 addition, 1 deletionsrc/libstore/remote-store.hh
- src/libstore/store-api.hh 1 addition, 1 deletionsrc/libstore/store-api.hh
- src/nix-store/nix-store.cc 3 additions, 1 deletionsrc/nix-store/nix-store.cc
Loading
Please register or sign in to comment