~ruther/guix-local

21ffcd65c5a3459e939a75eb9151acde6ab53723 — Tobias Geerinckx-Rice 8 years ago e333efd
vm: Increase disk size overhead estimate.

* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
1 files changed, 2 insertions(+), 2 deletions(-)

M gnu/build/vm.scm
M gnu/build/vm.scm => gnu/build/vm.scm +2 -2
@@ 157,8 157,8 @@ the #:references-graphs parameter of 'derivation'."
(define (estimated-partition-size graphs)
  "Return the estimated size of a partition that can store the store items
given by GRAPHS, a list of file names produced by #:references-graphs."
  ;; Simply add a 20% overhead.
  (round (* 1.2 (closure-size graphs))))
  ;; Simply add a 25% overhead.
  (round (* 1.25 (closure-size graphs))))

(define* (initialize-partition-table device partitions
                                     #:key