summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-12-29 12:24:41 +0100
committerLudovic Courtès <ludo@gnu.org>2015-12-29 12:24:41 +0100
commit7236643b44c49b37523d063454e41223ccc83c35 (patch)
tree39f7a447469eebe8a75777917d6d83f39517b915
parent91172d8fe0562c16e5ab549cfc392aa68113ef25 (diff)
downloadguix-artwork-7236643b44c49b37523d063454e41223ccc83c35.tar
guix-artwork-7236643b44c49b37523d063454e41223ccc83c35.tar.gz
website: packages: Delay call to 'official-gnu-packages'.
* website/www/packages.scm (lookup-gnu-package): Delay the call to 'official-gnu-packages'.
-rw-r--r--website/www/packages.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/www/packages.scm b/website/www/packages.scm
index 21d98d0..6ea974b 100644
--- a/website/www/packages.scm
+++ b/website/www/packages.scm
@@ -48,12 +48,12 @@
issues-page))
(define lookup-gnu-package
- (let ((gnu (official-gnu-packages)))
+ (let ((gnu (delay (official-gnu-packages))))
(lambda (name)
"Return the package description for GNU package NAME, or #f."
(find (lambda (package)
(equal? (gnu-package-name package) name))
- gnu))))
+ (force gnu)))))
(define (list-join lst item)
"Join the items in LST by inserting ITEM between each pair of elements."