diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-08-29 22:28:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-08-29 23:32:01 +0200 |
commit | de5cbd4a38a33e0412f1c481fe8e01a871dc13e5 (patch) | |
tree | ac05ef6e906e61318e32c7e5271bbe638b56ff01 /gnu/build | |
parent | caf8a003b33f9ed59c8f9bf6fc2ca9929b96b63b (diff) | |
download | guix-patches-de5cbd4a38a33e0412f1c481fe8e01a871dc13e5.tar guix-patches-de5cbd4a38a33e0412f1c481fe8e01a871dc13e5.tar.gz |
records: Adjust 'record-abi-mismatch-error' arguments.
Previously, 'display-error' (as used by 'warn-about-load-error', for
instance) would be called with a wrong number of arguments when a
'record-abi-mismatch-error' was caught:
warning: failed to load '(gnu tests install)':
Backtrace:
[...]
ERROR: In procedure display-error:
Wrong number of arguments to #<procedure display-error (_ _ _ _ _ _)>
Now you get warnings and error reports as intended:
warning: failed to load '(gnu tests install)':
In procedure abi-check: <openssh-configuration>: record ABI mismatch; recompilation needed
warning: failed to load '(gnu tests ssh)':
In procedure abi-check: <openssh-configuration>: record ABI mismatch; recompilation needed
* guix/records.scm (print-record-abi-mismatch-error): Remove.
Remove top-level call to 'set-exception-printer!'.
(abi-check): Use arguments as expected by 'display-error'.
Diffstat (limited to 'gnu/build')
0 files changed, 0 insertions, 0 deletions