[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/45: reppar: Correctly print the number of packages.
From: |
Ludovic Courtès |
Subject: |
30/45: reppar: Correctly print the number of packages. |
Date: |
Tue, 09 Jun 2015 12:37:09 +0000 |
civodul pushed a commit to branch master
in repository maintenance.
commit 9428bf412722713804e9c1e12aba75e3ec0398f6
Author: Ludovic Courtès <address@hidden>
Date: Mon Jun 1 18:08:28 2015 +0200
reppar: Correctly print the number of packages.
---
doc/reppar-2015/reproducible-hpc.skb | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/doc/reppar-2015/reproducible-hpc.skb
b/doc/reppar-2015/reproducible-hpc.skb
index a80bf24..ef48be1 100644
--- a/doc/reppar-2015/reproducible-hpc.skb
+++ b/doc/reppar-2015/reproducible-hpc.skb
@@ -31,7 +31,8 @@
(guix hash) (guix base64)
((guix serialization) #:select (write-file))
(my-openmpi)
- (gnu packages))
+ (gnu packages)
+ (ice-9 i18n))
(define-values (%openmpi-path %openmpi-hash)
;; Here we connect to the Guix build daemon to get information about
@@ -68,6 +69,13 @@
;; Return a URL typeset in a fixed-with font.
(ref :url url :text (tt url)))
+(define (number* number)
+ ;; Return NUMBER correctly formatting according to English conventions.
+ (number->locale-string number 0
+ (or (false-if-exception
+ (make-locale LC_ALL "en_US.utf8"))
+ (make-locale LC_ALL "en_US.UTF-8"))))
+
;; Abbreviate author first names.
(markup-writer '&bib-entry-author
:action (lambda (n e)
@@ -736,7 +744,7 @@ reproducible software environments, while still allowing
fine-grain
software composition and not imposing high disk and RAM costs.
GNU,(~)Guix builds on the foundations of Nix and provides a unified set
of user and programming interfaces. To date, it comes with
-,(fold-packages (lambda (p n) (+ 1 n)) 0) including many of the common
+,(number* (fold-packages (lambda (p n) (+ 1 n)) 0)) including many of the
common
HPC tools and libraries as well as around 40 bioinformatics packages.
It is deployed on the cluster of the MDC Berlin,
and being discussed as one of the packaging options by
- 18/45: reppar: Add MDC experience report + comments on RPMs., (continued)
- 18/45: reppar: Add MDC experience report + comments on RPMs., Ludovic Courtès, 2015/06/09
- 19/45: reppar: Fix typos, improve wording., Ludovic Courtès, 2015/06/09
- 10/45: reppar: Add "Related Work" section., Ludovic Courtès, 2015/06/09
- 11/45: reppar: Mention approaches based on VMs and Docker., Ludovic Courtès, 2015/06/09
- 14/45: reppar: Implement Andreas' suggestions., Ludovic Courtès, 2015/06/09
- 23/45: reppar: Abbreviate book titles in the bibliography., Ludovic Courtès, 2015/06/09
- 21/45: reppar: Shorten "Related Work"., Ludovic Courtès, 2015/06/09
- 12/45: reppar: Add section about active papers., Ludovic Courtès, 2015/06/09
- 22/45: reppar: Shrink Chameleon blurbs., Ludovic Courtès, 2015/06/09
- 28/45: reppar: Remove unused TikZ stuff., Ludovic Courtès, 2015/06/09
- 30/45: reppar: Correctly print the number of packages.,
Ludovic Courtès <=
- 24/45: reppar: Shrink figures., Ludovic Courtès, 2015/06/09
- 25/45: reppar: Reintroduce inputs in 'make-chameleon' figure., Ludovic Courtès, 2015/06/09
- 31/45: reppar: Add acknowledgments., Ludovic Courtès, 2015/06/09
- 33/45: reppar: Add rough number of cluster nodes and users., Ludovic Courtès, 2015/06/09
- 27/45: reppar: Fix one biblio entry., Ludovic Courtès, 2015/06/09
- 34/45: reppar: Add missing words, fix typo., Ludovic Courtès, 2015/06/09
- 35/45: reppar: Stylistic edit to remove repeated "and"., Ludovic Courtès, 2015/06/09
- 32/45: reppar: Make source code comments darker., Ludovic Courtès, 2015/06/09
- 38/45: reppar: Slightly shrink the conclusion, and thank Eric., Ludovic Courtès, 2015/06/09
- 41/45: reppar: Move the discussion of multiple profiles earlier; add example., Ludovic Courtès, 2015/06/09