offload: Remove all the GC roots in case of multiple-output derivations.
authorLudovic Courtès <ludo@gnu.org>
Tue, 8 Apr 2014 11:48:30 +0000 (13:48 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 8 Apr 2014 11:48:30 +0000 (13:48 +0200)
commitc9501414957e04106531e53ee7a06b0d07ff4ac3
tree0964dd650025efc3cead66ef7a74f273ef659deb
parent5d2933aecc2ed11d8816b2c3eae239b8ece6cbbb
offload: Remove all the GC roots in case of multiple-output derivations.

* guix/scripts/offload.scm (remove-gc-root): Rename to...
  (remove-gc-roots): ... this.
  [builder]: Use 'scandir' and remove all the files starting with
  %GC-ROOT-FILE.
  (transfer-and-offload): Adjust to renaming; remove
  'false-if-exception' wraps.
guix/scripts/offload.scm