guix-devel/guix/scripts
Ludovic Courtès 49e6291a7a Add 'guix offload' as a daemon build hook.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_BUILD_HOOK): New macro.
  (options): Add '--no-build-hook'.
  (parse_opt): Handle it.
  (main)[HAVE_DAEMON_OFFLOAD_HOOK]: Set 'useBuildHook' by default.
  Set $NIX_BUILD_HOOK to our offload hook unless otherwise specified.
  [!HAVE_DAEMON_OFFLOAD_HOOK]: Clear 'useBuildHook'.
* pre-inst-env.in: Set and export NIX_BUILD_HOOK.
* nix/scripts/offload.in, guix/scripts/offload.scm: New files.
* guix/ui.scm (show-guix-help)[internal?]: Add "offload".
* config-daemon.ac: Call 'GUIX_CHECK_UNBUFFERED_CBIP'.
  Instantiate 'nix/scripts/offload'.  Set 'BUILD_DAEMON_OFFLOAD'
  conditional, and optionally define 'HAVE_DEAMON_OFFLOAD_HOOK' cpp
  macro.
* daemon.am (nodist_pkglibexec_SCRIPTS)[BUILD_DAEMON_OFFLOAD]: Add it.
* Makefile.am (MODULES)[BUILD_DAEMON_OFFLOAD]: Add
  'guix/scripts/offload.scm'.
  (EXTRA_DIST)[!BUILD_DAEMON_OFFLOAD]: Likewise.
* m4/guix.m4 (GUIX_CHECK_UNBUFFERED_CBIP): New macro.
* doc/guix.texi (Setting Up the Daemon): Move most of the body to...
  (Build Environment Setup): ... this.  New subsection.
  (Daemon Offload Setup): New subsection.
2014-01-24 00:01:50 +01:00
..
archive.scm archive: Add '--missing'. 2014-01-06 22:25:29 +01:00
authenticate.scm pki: Factorize signature manipulation procedures. 2014-01-24 00:01:49 +01:00
build.scm guix build: Add '--no-build-hook'. 2014-01-05 22:58:32 +01:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
gc.scm guix gc: Add `--requisites'. 2013-06-13 22:15:41 +02:00
hash.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
offload.scm Add 'guix offload' as a daemon build hook. 2014-01-24 00:01:50 +01:00
package.scm guix package: Gracefully handle EPIPE on '--search'. 2014-01-13 18:51:07 +01:00
pull.scm pull: Move build code to (guix build pull). 2013-12-16 23:26:48 +01:00
refresh.scm guix refresh: Keep only the newest versions of packages as upgrade candidates. 2013-07-11 19:56:30 +02:00
substitute-binary.scm Update 'nix-upstream' sub-module; adjust build system, doc, and substituter. 2014-01-18 22:32:50 +01:00