aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/chicken.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-31 00:07:06 -0500
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:46 +0200
commit84728d5ba408c11344f78a6da50fd720d74e3c0a (patch)
tree5f03760563e687179744a7e28bc2355198eb135e /gnu/packages/chicken.scm
parenta9bd08f8f5012628a0f3c02e3cdb683c5ecec5b1 (diff)
downloadguix-84728d5ba408c11344f78a6da50fd720d74e3c0a.tar
guix-84728d5ba408c11344f78a6da50fd720d74e3c0a.tar.gz
gnu: Do not eagerly load (gnu packages commencement).
As its top comment says, this module is not meant to be imported to avoid circular module dependencies. * gnu/packages/chicken.scm (chicken) [propagated-inputs]: Resolve gcc-toolchain lazily. * gnu/packages/plan9.scm (plan9port): Likewise. * gnu/packages/raspberry-pi.scm (raspi-arm64-chainloader) [native-inputs]: Resolve ld-wrapper lazily. Change-Id: Ie9859046ed32b67dc53bcc5444d6ae162e5d4022
Diffstat (limited to 'gnu/packages/chicken.scm')
-rw-r--r--gnu/packages/chicken.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index 8f5e8ce98d..3743ae3e2a 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -26,7 +26,6 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix svn-download)
- #:use-module (gnu packages commencement)
#:use-module ((guix licenses)
#:prefix license:))
@@ -68,7 +67,11 @@
(variable "CHICKEN_REPOSITORY_PATH")
;; TODO extract binary version into a module level definition.
(files (list "var/lib/chicken/11")))))
- (propagated-inputs (list gcc-toolchain))
+ ;; Reference gcc-toolchain lazily to avoid circular module dependency
+ ;; problems.
+ (propagated-inputs (list (module-ref (resolve-interface
+ '(gnu packages commencement))
+ 'gcc-toolchain)))
(home-page "https://www.call-cc.org/")
(synopsis "R5RS Scheme implementation that compiles native code via C")
(description