guix-play/guix/scripts
Ludovic Courtès 4b00f3434e offload: Prevent the '.drv' and build result from being GC'd.
Before that, there was a small time window during which the GC could
wipe the .drv (before 'guix build' has been called), or the build
result (before 'retrieve-files' has started.)

* guix/scripts/offload.scm (remote-pipe): Add #:quote? parameter and
  honor it.
  (%gc-root-file): New variable.
  (register-gc-root, remove-gc-root): New procedures.
  (offload): Adjust comment.  Run 'guix build' with '-r %GC-ROOT-FILE'.
  (transfer-and-offload): Call 'register-gc-root' before
  sending (derivation-file-name DRV).  Call 'remove-gc-root' after the
  call to 'offload' or 'retrieve-files'.
  (send-files): Call 'remote-pipe' with #:quote? #f.
  (retrieve-files): Likewise.
2014-04-03 23:55:51 +02:00
..
archive.scm pki: Keep ACL in native sexp format to speed up 'authorized-key?'. 2014-04-01 23:47:51 +02:00
authenticate.scm authenticate: Support reading the hash or key from stdin. 2014-03-22 22:57:10 +01:00
build.scm guix build: Support '--with-source' along with '-e'. 2014-03-13 19:21:49 +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 guix hash: Add '--recursive'. 2014-02-21 23:49:52 +01:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
offload.scm offload: Prevent the '.drv' and build result from being GC'd. 2014-04-03 23:55:51 +02:00
package.scm guix package: 'search-path-environment-variables' traverses module tree once. 2014-04-02 16:07:40 +02: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 substitute-binary: Avoid consing 'regexp-exec' arguments. 2014-04-01 23:47:51 +02:00
system.scm gnu: Introduce the (gnu services ...) modules. 2014-02-19 20:58:24 +01:00