~ruther/guix-local

4ce823c4 — Ludovic Courtès 13 years ago
daemon: Update to Nix 1.2-1-ge087bfe.
e9f6d6dd — Ludovic Courtès 13 years ago
doc: Add new dependencies in `README'.

* README (Hacking): Rename to...
  (Requirements): ... this.  Add the daemon's dependencies.
5c403e35 — Ludovic Courtès 13 years ago
daemon: Add more options.

* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_BUILD_USERS_GROUP,
  GUIX_OPT_CACHE_FAILURES, GUIX_OPT_LOSE_LOGS,
  GUIX_OPT_DISABLE_STORE_OPTIMIZATION, GUIX_OPT_IMPERSONATE_LINUX_26):
  New macros.
  (options)["build-users-group", "cache-failures", "lose-logs",
  "disable-store-optimization", "impersonate-linux-2.6"]: New options.
  (parse_opt): Handle them.
29833b26 — Ludovic Courtès 13 years ago
build: Update skip count in `tests/derivations.scm'.

* tests/derivations.scm: When %STORE if #f, skip 11 tests.
aca54b39 — Ludovic Courtès 13 years ago
build: Run `distcheck' with `--enable-daemon'.

* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add `--enable-daemon'.
351782e2 — Ludovic Courtès 13 years ago
build: Add missing daemon header to the distribution.

* daemon.am (guix_daemon_headers): New variable.
  (noinst_HEADERS): Add it.
d8eea3d2 — Ludovic Courtès 13 years ago
build: Capture configure-time settings in (guix config).

* configure.ac: Compute and substitute `guix_localstatedir'.
* m4/guix.m4: Substitute `guix_system'.
* guix/config.scm.in (%store-directory, %store-directory, %system): New
  variables.
* guix/store.scm (%nix-state-dir): Remove.
  (%default-socket-path): Use %STATE-DIRECTORY as the default.
  (%store-prefix): Use %STORE-DIRECTORY as the default.
* guix/utils.scm (%current-system): Default to %SYSTEM.
69cfce50 — Ludovic Courtès 13 years ago
build: Run all the tests against the just-built daemon.

* 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'.
b980f0f9 — Ludovic Courtès 13 years ago
tests: Remove hard-coded /nix/store.

* tests/utils.scm ("store-path-package-name"): Use (%store-prefix)
  instead of a hard-coded "/nix/store".
f5c82e15 — Ludovic Courtès 13 years ago
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.
8b15ac67 — Ludovic Courtès 13 years ago
daemon: Disable use of chroots when support is lacking.

* nix/nix-daemon/guix-daemon.cc (options)[!HAVE_CHROOT]: Mention that
  `--disable-chroot' has no effect.
  (main)[!HAVE_CHROOT]: Set `useChroot' to false.
d23077dc — Ludovic Courtès 13 years ago
daemon: Add test.

* daemon.am (test_root, AM_TESTS_ENVIRONMENT): New variables.
  (clean-local): New target.
* tests/guix-daemon.sh: New file.
2606bbcf — Ludovic Courtès 13 years ago
build: daemon: Add missing feature tests.

* config-daemon.ac: Add feature tests needed for the daemon code.  Taken
  from Nix's `configure.ac'.
ca8dbb7d — Ludovic Courtès 13 years ago
build: daemon: Remove extraneous quotes in CPP macro `SYSTEM'.

* config-daemon.ac: Remove extraneous quotes in definition of `SYSTEM'.
0adb5276 — Ludovic Courtès 13 years ago
daemon: Fix typo in libgcrypt bindings.

* nix/libutil/md5.h (MD5_Final): Pass RESBUF as the first argument to
  `guix_hash_final'.
* nix/libutil/sha1.h (SHA1_Final): Likewise.
* nix/libutil/sha256.h (SHA256_Final): Likewise.
5f25049e — Ludovic Courtès 13 years ago
Merge branch 'master' into nix-integration
c7bdb1b9 — Ludovic Courtès 13 years ago
guix-build: Don't connect to the daemon when run with `--version' or `--help'.

* guix-build.in (%store): Turn into a SRFI-39 parameter.  Update users.
  (guix-build): Set %STORE and call `open-connection' only after
  `parse-options' has been called.
cd3ded43 — Ludovic Courtès 13 years ago
store: Honor $NIX_STORE_DIR and $NIX_STATE_DIR.

* guix/store.scm (%nix-state-dir): Honor $NIX_STATE_DIR.
  (%store-prefix): Honor $NIX_STORE_DIR.
860a6f1a — Ludovic Courtès 13 years ago
derivations: Fix erroneous call to `add-to-store' for local files as input.

* guix/derivations.scm (derivation)[inputs]: Fix typo in call to
  `add-to-store'.
* tests/derivations.scm ("derivation with local file as input"): New test.
* tests/packages.scm ("trivial with local file as input"): New test.
3036a01f — Ludovic Courtès 13 years ago
Augment `TODO'.
Next