* Allow certain operations to succeed even if we don't have write
permission to the Nix store or database. E.g., `nix-env -qa' will work, but `nix-env -qas' won't (the latter needs DB access). The option `--readonly-mode' forces this mode; otherwise, it's only activated when the database cannot be opened.
Showing
- src/libexpr/eval.hh 2 additions, 2 deletionssrc/libexpr/eval.hh
- src/libexpr/primops.cc 12 additions, 4 deletionssrc/libexpr/primops.cc
- src/libmain/shared.cc 2 additions, 0 deletionssrc/libmain/shared.cc
- src/libstore/db.cc 11 additions, 2 deletionssrc/libstore/db.cc
- src/libstore/db.hh 7 additions, 0 deletionssrc/libstore/db.hh
- src/libstore/globals.cc 2 additions, 0 deletionssrc/libstore/globals.cc
- src/libstore/globals.hh 4 additions, 0 deletionssrc/libstore/globals.hh
- src/libstore/store.cc 17 additions, 7 deletionssrc/libstore/store.cc
- src/libstore/storeexpr.cc 1 addition, 1 deletionsrc/libstore/storeexpr.cc
Loading
Please register or sign in to comment