mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-20 10:06:47 +02:00
Update src/libstore/local-store.hh
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
abb3bb7133
commit
feb8d552ae
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ struct LocalStoreConfig : virtual LocalFSStoreConfig
|
||||||
R"(
|
R"(
|
||||||
Allow this store to be opened when its [database](@docroot@/glossary.md#gloss-nix-database) is on a read-only filesystem.
|
Allow this store to be opened when its [database](@docroot@/glossary.md#gloss-nix-database) is on a read-only filesystem.
|
||||||
|
|
||||||
Normally Nix will attempt to open the store database in read-write mode, even for querying (when write access is not needed).
|
Normally Nix will attempt to open the store database in read-write mode, even for querying (when write access is not needed), causing it to fail if the database is on a read-only filesystem.
|
||||||
This causes it to fail if the database is on a read-only filesystem.
|
|
||||||
|
|
||||||
Enable read-only mode to disable locking and open the SQLite database with the [`immutable` parameter](https://www.sqlite.org/c3ref/open.html) set.
|
Enable read-only mode to disable locking and open the SQLite database with the [`immutable` parameter](https://www.sqlite.org/c3ref/open.html) set.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue