diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-06-05 23:41:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-06-14 22:54:30 +0200 |
commit | e4259d4e9e3251e4c4b45d1cce4008ac32b504c8 (patch) | |
tree | 7baa5cee009351303353cdd2b4b4183fa2501259 /gnu.scm | |
parent | 35c27ec5eedfe8ea4fc653bef0bf213c1a58e7a2 (diff) | |
download | guix-e4259d4e9e3251e4c4b45d1cce4008ac32b504c8.tar.gz |
packages: 'package-transitive-supported-systems' detects cycles.
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.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions