guix-patches
[Top][All Lists]
Advanced

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

bug#63917: [PATCH] packages: 'package-transitive-supported-systems' dete


From: Ludovic Courtès
Subject: bug#63917: [PATCH] packages: 'package-transitive-supported-systems' detects cycles.
Date: Wed, 14 Jun 2023 23:51:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Ludovic Courtès <ludo@gnu.org> skribis:

> With this change, commands such as 'guix build' or 'guix package' report
> obvious package-level cycles upfront.  Derivation-level cycles are not
> detected.
>
> * guix/packages.scm (&package-cyclic-dependency-error): New condition
> type.
> (package-transitive-supported-systems): Define 'visited', check it, and
> parameterize it.
> * guix/ui.scm (call-with-error-handling): Handle
> '&package-cyclic-dependency-error'.
> * tests/packages.scm ("package-transitive-supported-systems detects
> cycles"): Add test.

Pushed as e4259d4e9e3251e4c4b45d1cce4008ac32b504c8.

Ludo'.





reply via email to

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