guix-kreyren/nix
Ludovic Courtès 3931c76154
database: 'with-database' can now initialize new databases.
* nix/libstore/schema.sql: Rename to...
* guix/store/schema.sql: ... this.
* Makefile.am (nobase_dist_guilemodule_DATA): Add it.
* nix/local.mk (%D%/libstore/schema.sql.hh): Adjust accordingly.
* guix/store/database.scm (sql-schema): New variable.
(sqlite-exec, initialize-database, call-with-database): New procedures.
(with-database): Rewrite in terms of 'call-with-database'.
* tests/store-database.scm ("new database"): New test.
* guix/self.scm (compiled-guix)[*core-modules*]: Add 'schema.sql' to
 #:extra-files.
2018-06-14 11:16:58 +02:00
..
boost
guix-register
libstore database: 'with-database' can now initialize new databases. 2018-06-14 11:16:58 +02:00
libutil nix: Remove unused function. 2017-08-18 11:31:28 +02:00
nix-daemon guix-daemon: Disable garbage collection for remote connections. 2018-04-19 19:06:26 +02:00
scripts list-runtime-root: Fix off-by-one in 'strip-drop' call. 2017-12-31 11:18:30 +01:00
.gitignore
AUTHORS
COPYING
local.mk database: 'with-database' can now initialize new databases. 2018-06-14 11:16:58 +02:00