guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: cpp: Mention that autoload prevents module c


From: guix-commits
Subject: branch master updated: gnu: cpp: Mention that autoload prevents module cycles.
Date: Sun, 14 May 2023 06:30:26 -0400

This is an automated email from the git hooks/post-receive script.

lilyp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 28bfc5cd08 gnu: cpp: Mention that autoload prevents module cycles.
28bfc5cd08 is described below

commit 28bfc5cd081458313fa8601133386209b23deb12
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sun May 14 12:26:52 2023 +0200

    gnu: cpp: Mention that autoload prevents module cycles.
    
    * gnu/packages/cpp.scm: Add a comment on the #:autoload to explain that
    serialization depends on cpp.
---
 gnu/packages/cpp.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index e79b48a9b9..237e232078 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -103,6 +103,8 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  ;; Using autoload to avoid a cycle.
+  ;; Note that (gnu packages serialization) has #:use-module (gnu packages cpp)
   #:autoload   (gnu packages serialization) (cereal)
   #:use-module (ice-9 match))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]