Add a Store::addToStore() variant that accepts a NAR
As a side effect, this ensures that signatures are propagated when copying paths between stores. Also refactored import/export to make use of this.
Showing
- src/libstore/binary-cache-store.cc 14 additions, 91 deletionssrc/libstore/binary-cache-store.cc
- src/libstore/binary-cache-store.hh 3 additions, 9 deletionssrc/libstore/binary-cache-store.hh
- src/libstore/builtins.cc 1 addition, 1 deletionsrc/libstore/builtins.cc
- src/libstore/export-import.cc 136 additions, 0 deletionssrc/libstore/export-import.cc
- src/libstore/local-store.cc 34 additions, 160 deletionssrc/libstore/local-store.cc
- src/libstore/local-store.hh 3 additions, 7 deletionssrc/libstore/local-store.hh
- src/libstore/remote-store.cc 6 additions, 19 deletionssrc/libstore/remote-store.cc
- src/libstore/remote-store.hh 3 additions, 5 deletionssrc/libstore/remote-store.hh
- src/libstore/store-api.cc 2 additions, 13 deletionssrc/libstore/store-api.cc
- src/libstore/store-api.hh 18 additions, 16 deletionssrc/libstore/store-api.hh
- src/libstore/worker-protocol.hh 2 additions, 2 deletionssrc/libstore/worker-protocol.hh
- src/libutil/compression.cc 8 additions, 8 deletionssrc/libutil/compression.cc
- src/libutil/compression.hh 2 additions, 2 deletionssrc/libutil/compression.hh
- src/nix-store/nix-store.cc 2 additions, 4 deletionssrc/nix-store/nix-store.cc
- src/nix/command.cc 1 addition, 1 deletionsrc/nix/command.cc
Loading
Please register or sign in to comment