diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2012-12-05 16:29:28 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-05 16:29:28 +0100 |
| commit | f5c82e15e0e76b855bc4cc88ffb79331b7083f39 (patch) | |
| tree | be5fa23b0899617c411afca2413655bb1d073ab7 /daemon.am | |
| parent | 8b15ac6700f1345e9efa709dea6e4efcbdaf6d7a (diff) | |
daemon: Add `list-runtime-roots' script.
* nix/scripts/list-runtime-roots.in: New file.
* config-daemon.ac: Add `AC_CONFIG_FILES' invocation for it.
* daemon.am (nodist_pkglibexec_SCRIPTS): New variable.
(AM_TESTS_ENVIRONMENT): Define `top_builddir'.
* tests/guix-daemon.sh: Export `NIX_ROOT_FINDER'.
* nix/sync-with-upstream: Substitute the path to the root finder in
libstore/gc.cc.
Diffstat (limited to 'daemon.am')
| -rw-r--r-- | daemon.am | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -146,6 +146,9 @@ nix/libstore/schema.sql.hh: nix/libstore/schema.sql | |||
| 146 | (lambda (in) \ | 146 | (lambda (in) \ |
| 147 | (write (get-string-all in) out)))))" | 147 | (write (get-string-all in) out)))))" |
| 148 | 148 | ||
| 149 | nodist_pkglibexec_SCRIPTS = \ | ||
| 150 | nix/scripts/list-runtime-roots | ||
| 151 | |||
| 149 | EXTRA_DIST += \ | 152 | EXTRA_DIST += \ |
| 150 | nix/sync-with-upstream \ | 153 | nix/sync-with-upstream \ |
| 151 | nix/libstore/schema.sql \ | 154 | nix/libstore/schema.sql \ |
| @@ -156,6 +159,7 @@ EXTRA_DIST += \ | |||
| 156 | test_root = $(abs_top_builddir)/test-tmp | 159 | test_root = $(abs_top_builddir)/test-tmp |
| 157 | 160 | ||
| 158 | AM_TESTS_ENVIRONMENT += \ | 161 | AM_TESTS_ENVIRONMENT += \ |
| 162 | top_builddir="$(abs_top_builddir)" \ | ||
| 159 | TEST_ROOT="$(test_root)" | 163 | TEST_ROOT="$(test_root)" |
| 160 | 164 | ||
| 161 | TESTS += \ | 165 | TESTS += \ |
