[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: progress: Provide the proper type for %PROGRESS-INTERVAL.
From: |
guix-commits |
Subject: |
03/05: progress: Provide the proper type for %PROGRESS-INTERVAL. |
Date: |
Sat, 1 Jun 2019 19:38:44 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 88bc3c89bf5145d24c2270d2192b7be547e0024f
Author: Ludovic Courtès <address@hidden>
Date: Sun Jun 2 01:29:38 2019 +0200
progress: Provide the proper type for %PROGRESS-INTERVAL.
The (srfi srfi-19) module of Guile 2.9.2 catches the wrong type.
* guix/progress.scm (%progress-interval): Change type to TIME-DURATION.
---
guix/progress.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/progress.scm b/guix/progress.scm
index 65080bc..f150b08 100644
--- a/guix/progress.scm
+++ b/guix/progress.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Sou Bunnbu <address@hidden>
;;; Copyright © 2015 Steve Sprang <address@hidden>
-;;; Copyright © 2017, 2018 Ludovic Courtès <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Ludovic Courtès <address@hidden>
;;; Copyright © 2018 Clément Lassieur <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -229,7 +229,7 @@ throughput."
(define %progress-interval
;; Default interval between subsequent outputs for rate-limited displays.
- (make-time time-monotonic 200000000 0))
+ (make-time time-duration 200000000 0))
(define* (progress-reporter/file file size
#:optional (log-port (current-output-port))