GNU bug report logs -
#50515
(guix-artwork)[PATCH 0/2] List linux origins in 'sources.json'.
Previous Next
Reported by: zimoun <zimon.toutoune <at> gmail.com>
Date: Sat, 11 Sep 2021 00:15:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* website/apps/packages/data.scm (%package-list): Compare to 'yes' instead of
any value.
* website/README: Document it.
---
website/README | 8 ++++++++
website/apps/packages/data.scm | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/website/README b/website/README
index ce2819f..bc623c5 100644
--- a/website/README
+++ b/website/README
@@ -37,6 +37,14 @@ commands:
-- haunt build
#+end_example
+Any other value than =GUIX_WEB_SITE_LOCAL=yes= will build the full website
+considering all the packages and not a small subset. Note that the final
+website is built using the following command:
+
+#+begin_example
+ guix build -f .guix.scm
+#+end_example
+
** Serve locally
#+begin_example
LANG=en_US.UTF-8 guix environment -CN -m manifest.scm \
diff --git a/website/apps/packages/data.scm b/website/apps/packages/data.scm
index d1bbc92..eb34d26 100644
--- a/website/apps/packages/data.scm
+++ b/website/apps/packages/data.scm
@@ -50,7 +50,8 @@
(string<? (package-name p1)
(package-name p2))))))
(cond ((null? packages) '())
- ((getenv "GUIX_WEB_SITE_LOCAL") (list-head packages 300))
+ ((string=? "yes" (getenv "GUIX_WEB_SITE_LOCAL"))
+ (list-head packages 300))
(else packages)))))
(define (all-packages)
--
2.29.2
This bug report was last modified 3 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.