<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chuix.git/nix/scripts/offload.in, branch python-team-django-6</title>
<subtitle>guix
</subtitle>
<id>http://cgit.adnoto.dev/chuix.git/atom?h=python-team-django-6</id>
<link rel='self' href='http://cgit.adnoto.dev/chuix.git/atom?h=python-team-django-6'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/'/>
<updated>2019-09-08T09:49:24Z</updated>
<entry>
<title>daemon: Run 'guix offload' directly.</title>
<updated>2019-09-08T09:49:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-09-03T20:11:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=bc69ea2d605810cc32e13ed03d5848b8dc358b61'/>
<id>urn:sha1:bc69ea2d605810cc32e13ed03d5848b8dc358b61</id>
<content type='text'>
* nix/scripts/offload.in: Remove.
* nix/local.mk (nodist_pkglibexec_SCRIPTS) [BUILD_DAEMON_OFFLOAD]:
Remove 'scripts/offload'.
* config-daemon.ac: Don't output 'nix/scripts/offload'.
* build-aux/pre-inst-env.in: Don't set 'NIX_BUILD_HOOK'.
* nix/libstore/build.cc (HookInstance::HookInstance): Run 'guix
offload'.
(DerivationGoal::tryBuildHook): Remove reference to 'NIX_BUILD_HOOK'.
* nix/nix-daemon/guix-daemon.cc (main) [HAVE_DAEMON_OFFLOAD_HOOK]: Don't
set 'NIX_BUILD_HOOK'.
* nix/nix-daemon/nix-daemon.cc (performOp) [!HAVE_DAEMON_OFFLOAD_HOOK]:
Leave 'settings.useBuildHook' unchanged.
</content>
</entry>
<entry>
<title>Add 'guix offload' as a daemon build hook.</title>
<updated>2014-01-23T23:01:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-01-23T22:48:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=49e6291a7a257f89f01644423f1b685778b8862a'/>
<id>urn:sha1:49e6291a7a257f89f01644423f1b685778b8862a</id>
<content type='text'>
* 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.
</content>
</entry>
</feed>
