aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-11-06 12:29:18 +0100
committerChristopher Baines <mail@cbaines.net>2022-11-06 13:15:35 +0100
commitabff4a1a356447f6c393c8c01c7a77e764cd8b93 (patch)
tree7239f77d0c7f51b336e924d4f9946a6f6346d8ac /doc/guix.texi
parenta6c90c293d5b0c77d3e1e967546fe0aadc53a102 (diff)
downloadguix-abff4a1a356447f6c393c8c01c7a77e764cd8b93.tar
guix-abff4a1a356447f6c393c8c01c7a77e764cd8b93.tar.gz
lint: Split the derivation lint checker by system.split-derivation-lint-checker
Currently, if you attempt to run the derivation checker on all packages, the Guile process will run out of memory. I think a contributing factor to this is that the checker forces an inefficient order when you want to generate derivations for all the supported systems of each package, constantly switching system then package. This problem also impacts the Guix Data Service, since it tries to run the derivation checker for all packages. The changes in this commit to split the derivation lint checker in to several, one for each system, means that you can now treat each system separately, which should be better for caching purposes. If it's desirable to keep some notion of checking all supported systems for a single package, I think lint checker groups could be added, so that you could ask for the "derivation" checker, and this would run all the derivation checkers. * guix/lint.scm (check-derivation): Adapt to make-check-derivation-for-system. (%derivation-checkers): New variable. (%local-checkers): Include all %derivation-checkers. * doc/guix.texi (Invoking guix lint): Update.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 7806b21a0f..8d4989a60c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14422,9 +14422,9 @@ Parse the @code{source} URL to determine if a tarball from GitHub is
autogenerated or if it is a release tarball. Unfortunately GitHub's
autogenerated tarballs are sometimes regenerated.
-@item derivation
+@item derivation/SYSTEM
Check that the derivation of the given packages can be successfully
-computed for all the supported systems (@pxref{Derivations}).
+computed for the specified system (@pxref{Derivations}).
@item profile-collisions
Check whether installing the given packages in a profile would lead to