diff options
author | Christopher Baines <mail@cbaines.net> | 2024-05-16 16:06:03 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-07-15 22:34:22 +0100 |
commit | 4b85db10b1b45c6ef7b41b9c338eddf87e12b373 (patch) | |
tree | c6a316fdf454e647861cf86c9fc65725b1ebab9a /tests/upstream.scm | |
parent | 0e5e3edec51911315b57144f32a8fe2856d57283 (diff) | |
download | guix-4b85db10b1b45c6ef7b41b9c338eddf87e12b373.tar.gz guix-4b85db10b1b45c6ef7b41b9c338eddf87e12b373.zip |
guix: packages: Add new &package-unsupported-target-error.
Some packages don't support cross building to specific targets, so add a error
type to signal this.
* guix/packages.scm (&package-unsupported-target-error): New condition type.
[package-unsupported-target-error? package-unsupported-target-error-target):
New procedures.
* guix/ui.scm (call-with-error-handling): Handle this new condition type.
Change-Id: Ib47813399e04b20d616a95f545b6aabe25736e92
Diffstat (limited to 'tests/upstream.scm')
0 files changed, 0 insertions, 0 deletions