summaryrefslogtreecommitdiff
path: root/config-daemon.ac
Commit message (Collapse)AuthorAge
* build: When `--enable-daemon', don't error out when Nix programs are missing.Ludovic Courtès2012-12-13
| | | | | | | * config-daemon.ac: Move AC_ARG_ENABLE([daemon]...)... * configure.ac: ... here. When Nix programs are not found, error out only when $guix_build_daemon is no.
* build: Run all the tests against the just-built daemon.Ludovic Courtès2012-12-06
| | | | | | | | | | | | | | * test-env.in: New file. * configure.ac: Add it to `AC_CONFIG_FILES' and `commands-exec'. * config-daemon.ac: Set and substitute `GUIX_TEST_ROOT'. * Makefile.am (SCM_LOG_COMPILER, SH_LOG_COMPILER): Use it in lieu of `pre-inst-env'. * daemon.am (test_root): Remove (AM_TESTS_ENVIRONMENT): Remove `TEST_ROOT'. (clean-local): Use $(GUIX_TEST_ROOT); make files writable before removing them.guix_test_root * tests/guix-daemon.sh: Remove `NIX_' variable settings; don't launch `guix-daemon'.
* daemon: Add `list-runtime-roots' script.Ludovic Courtès2012-12-05
| | | | | | | | | | * 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.
* build: daemon: Add missing feature tests.Ludovic Courtès2012-12-04
| | | | | * config-daemon.ac: Add feature tests needed for the daemon code. Taken from Nix's `configure.ac'.
* build: daemon: Remove extraneous quotes in CPP macro `SYSTEM'.Ludovic Courtès2012-12-04
| | | | * config-daemon.ac: Remove extraneous quotes in definition of `SYSTEM'.
* build: Include a copy of Nix's libstore and daemon; build it.Ludovic Courtès2012-12-03
* configure.ac: Call `AC_USE_SYSTEM_EXTENSIONS', and `GUIX_SYSTEM_TYPE'. Add `--with-store-dir' option, and substitute `storedir'. Include `config-daemon.ac'. * config-daemon.ac: New file. * Makefile.am [BUILD_DAEMON]: Include `daemon.am'. * daemon.am: New file. * m4/guix.m4 (GUIX_SYSTEM_TYPE): New macro. * nix/libutil/gcrypt-hash.cc, nix/libutil/gcrypt-hash.hh, nix/libutil/md5.h, nix/libutil/sha1.h, nix/libutil/sha256.h, nix/nix-daemon/guix-daemon.cc, nix/nix-daemon/shared.hh: New files.