~ruther/guix-local

575cb765e28f620edbfdbdeaadd1351b28233257 — Maxim Cournoyer 1 year, 2 months ago 58f5c9a
build/guile-build-system: Fix byte-compilation warnings.

* guix/build/guile-build-system.scm: Hide 'delete' from (guix build utils), to
avoid shadowing the builtin.
(invoke-each): Replace current-processor-count with parallel-job-count.  The
former would require importing (ice-9 threads).

Change-Id: I7cde3305b9017bfec52ffe50ed124e21cbdceb25
1 files changed, 2 insertions(+), 2 deletions(-)

M guix/build/guile-build-system.scm
M guix/build/guile-build-system.scm => guix/build/guile-build-system.scm +2 -2
@@ 18,7 18,7 @@

(define-module (guix build guile-build-system)
  #:use-module ((guix build gnu-build-system) #:prefix gnu:)
  #:use-module (guix build utils)
  #:use-module ((guix build utils) #:hide (delete))
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-26)
  #:use-module (ice-9 match)


@@ 79,7 79,7 @@ determined."
     (setenv "GUIX_LOCPATH" (string-append locales "/lib/locale")))))

(define* (invoke-each commands
                      #:key (max-processes (current-processor-count))
                      #:key (max-processes (parallel-job-count))
                      report-progress)
  "Run each command in COMMANDS in a separate process, using up to
MAX-PROCESSES processes in parallel.  Call REPORT-PROGRESS at each step.