[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/19: guix: register-path: use new %store-database-directory
From: |
guix-commits |
Subject: |
10/19: guix: register-path: use new %store-database-directory |
Date: |
Tue, 29 Jan 2019 14:19:50 -0500 (EST) |
reepca pushed a commit to branch guile-daemon
in repository guix.
commit e067ef69ba5ed32129d0993fd7108795f4c32807
Author: Caleb Ristvedt <address@hidden>
Date: Mon Jun 5 22:34:59 2017 -0500
guix: register-path: use new %store-database-directory
* guix/config.scm.in (%store-database-directory): new variable.
* guix/store.scm (register-path): use variables from (guix config) instead
of
using environment variables directly.
* build-aux/test-env.in: Make sure canonicalize-path gets an existing path
from NIX_DB_DIR in tests.
---
build-aux/test-env.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/build-aux/test-env.in b/build-aux/test-env.in
index aaadcf2..372b0ff 100644
--- a/build-aux/test-env.in
+++ b/build-aux/test-env.in
@@ -53,6 +53,8 @@ then
NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
NIX_DB_DIR="@GUIX_TEST_ROOT@/db"
+ # same problem as above, for %store-database-directory.
+ mkdir -p "$NIX_DB_DIR"
NIX_ROOT_FINDER="@abs_top_builddir@/nix/scripts/list-runtime-roots"
# Choose a PID-dependent name to allow for parallel builds. Note
- 07/19: guix: register-path: reset timestamps after registering., (continued)
- 07/19: guix: register-path: reset timestamps after registering., guix-commits, 2019/01/29
- 01/19: patches: honor NIX_STORE in site.py., guix-commits, 2019/01/29
- 04/19: .dir-locals.el: properly indent sql macros., guix-commits, 2019/01/29
- 08/19: guix: register-path: do deduplication., guix-commits, 2019/01/29
- 12/19: linux-container: new use-output argument., guix-commits, 2019/01/29
- 02/19: guix: register-path: Implement prototype in scheme., guix-commits, 2019/01/29
- 05/19: guix: sql.scm: split into generic and store-specific parts., guix-commits, 2019/01/29
- 09/19: guix: register-path: return #t on success., guix-commits, 2019/01/29
- 03/19: guix: register-path: Honor environment variables., guix-commits, 2019/01/29
- 06/19: guix: register-path: use new %store-database-directory, guix-commits, 2019/01/29
- 10/19: guix: register-path: use new %store-database-directory,
guix-commits <=
- 16/19: build-derivations: Leaked environment variables more robust., guix-commits, 2019/01/29
- 19/19: gnu: linux-container: Make it more suitable for derivation-building., guix-commits, 2019/01/29
- 17/19: guix: store: Make register-items transactional, register drv outputs, guix-commits, 2019/01/29
- 14/19: build-derivations: initial build-group support, guix-commits, 2019/01/29
- 15/19: linux-container: don't include /dev/ptmx or /dev/pts from host., guix-commits, 2019/01/29
- 13/19: build-derivations: use call-with-container, guix-commits, 2019/01/29
- 18/19: guix: store: Adapt to using register-items instead of register-path., guix-commits, 2019/01/29
- 11/19: guix/store/build-derivations.scm: new module., guix-commits, 2019/01/29