diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-05-27 23:41:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-05-27 23:43:00 +0200 |
commit | 9b222abe0349701280d48e4830f98aa07c947517 (patch) | |
tree | b76c83e97f1c232fae4621ee288ef6ea2016744b /gnu/packages | |
parent | ea84ec7711a9935f28af3b392d43fe340c7919d0 (diff) | |
download | guix-9b222abe0349701280d48e4830f98aa07c947517.tar guix-9b222abe0349701280d48e4830f98aa07c947517.tar.gz |
packages: Raise an error condition a cross builder is needed but unavailable.
* guix/packages.scm (&package-cross-build-system-error): New condition type.
(package-cross-derivation): Raise &package-cross-build-system-error
when the build system doesn't support cross builds.
* guix/ui.scm (call-with-error-handling): Add
package-cross-build-system-error? case.
* tests/packages.scm ("package-cross-derivation, no cross builder"): New test.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions