[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/17: guix: register-path: use new %store-database-directory
From: |
Caleb Ristvedt |
Subject: |
10/17: guix: register-path: use new %store-database-directory |
Date: |
Tue, 29 Aug 2017 02:07:48 -0400 (EDT) |
reepca pushed a commit to branch guile-daemon
in repository guix.
commit 2088c214e60734005ca420d132868bc4a8fee15c
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 1657556..44c1212 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
- 02/17: guix: register-path: Honor environment variables., (continued)
- 02/17: guix: register-path: Honor environment variables., Caleb Ristvedt, 2017/08/29
- 03/17: .dir-locals.el: properly indent sql macros., Caleb Ristvedt, 2017/08/29
- 04/17: guix: sql.scm: split into generic and store-specific parts., Caleb Ristvedt, 2017/08/29
- 16/17: build-derivations: Leaked environment variables more robust., Caleb Ristvedt, 2017/08/29
- 12/17: linux-container: new use-output argument., Caleb Ristvedt, 2017/08/29
- 14/17: build-derivations: initial build-group support, Caleb Ristvedt, 2017/08/29
- 07/17: guix: register-path: do deduplication., Caleb Ristvedt, 2017/08/29
- 13/17: build-derivations: use call-with-container, Caleb Ristvedt, 2017/08/29
- 09/17: deduplication: new module., Caleb Ristvedt, 2017/08/29
- 06/17: guix: register-path: reset timestamps after registering., Caleb Ristvedt, 2017/08/29
- 10/17: guix: register-path: use new %store-database-directory,
Caleb Ristvedt <=
- 05/17: guix: register-path: use new %store-database-directory, Caleb Ristvedt, 2017/08/29
- 17/17: Merge remote-tracking branch 'origin/guile-daemon' into guile-daemon, Caleb Ristvedt, 2017/08/29
- 08/17: guix: register-path: return #t on success., Caleb Ristvedt, 2017/08/29
- 01/17: guix: register-path: Implement prototype in scheme., Caleb Ristvedt, 2017/08/29
- 15/17: linux-container: don't include /dev/ptmx or /dev/pts from host., Caleb Ristvedt, 2017/08/29
- 11/17: guix/store/build-derivations.scm: new module., Caleb Ristvedt, 2017/08/29