nix-super/src
Ben Radford aa376f4ab1
Need to open database using immutable parameter.
This requires switching on SQLITE_OPEN_URI because there is no open flag to
make the database immutable. Without immutable, sqlite will still attempt to
create journal and wal files, even when the database is opened read-only.

https://www.sqlite.org/c3ref/open.html

The immutable parameter is a boolean query parameter that indicates that the
database file is stored on read-only media. When immutable is set, SQLite
assumes that the database file cannot be changed, even by a process with higher
privilege, and so the database is opened read-only and all locking and change
detection is disabled.
2023-05-17 08:55:04 +01:00
..
build-remote Split comment, match with each variable 2023-05-08 10:08:01 -04:00
libcmd Make more string values work as installables 2023-05-15 09:03:38 -04:00
libexpr Merge pull request #8340 from NixOS/delete-commited-build-artifacts 2023-05-15 17:30:20 +02:00
libfetchers Fix hostRegex to accept hosts with a - 2023-05-03 18:59:44 -04:00
libmain nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
libstore Need to open database using immutable parameter. 2023-05-17 08:55:04 +01:00
libutil Delete commited build artifacts 2023-05-15 10:50:33 -04:00
nix Fix the printing of the installables on nix profile install conflict 2023-05-16 11:41:58 +02:00
nix-build nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-channel Factor out the generation of the profile/channel directory 2023-03-23 10:22:42 +01:00
nix-collect-garbage Make nix-collect-garbage -d look into more places 2023-05-15 11:36:53 +02:00
nix-copy-closure Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
nix-env nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-instantiate nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-store Merge pull request #6312 from obsidiansystems/keyed-build-result 2023-04-17 18:08:05 +02:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00