[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48682: recursive import between (gnu packages chez) and (gnu package
From: |
Ludovic Courtès |
Subject: |
bug#48682: recursive import between (gnu packages chez) and (gnu packages racket) |
Date: |
Sat, 29 May 2021 22:15:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
raingloom <raingloom@riseup.net> skribis:
>>From cef344639ccbf45b5397368d643a36fa48dac098 Mon Sep 17 00:00:00 2001
> From: raingloom <raingloom@riseup.net>
> Date: Fri, 28 May 2021 03:59:16 +0200
> Subject: [PATCH] gnu: Break up import loop between (gnu packages racket) and
> (gnu packages chez).
>
> * gnu/packages/racket.scm: Remove (gnu packages chez) import.
> ---
> gnu/packages/racket.scm | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks!
> diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
> index be33270b30..2d606071fe 100644
> --- a/gnu/packages/racket.scm
> +++ b/gnu/packages/racket.scm
> @@ -32,8 +32,6 @@
> #:use-module (ice-9 match)
> #:use-module (gnu packages)
> #:use-module (gnu packages bash)
> - #:use-module ((gnu packages chez)
> - #:select (chez-scheme))
> #:use-module (gnu packages compression)
In general we cannot use #:select for (gnu packages …) modules because
that doesn’t play well with circular module dependencies.
That said… what problem is this fixing raingloom?
Usually, circular top-level references lead things like ‘guix show
chez-scheme’ (this amounts to loading (gnu packages chez)), but it
worked fine for me.
Thanks,
Ludo’.