Catch and ignore the new cross build derivation errors
This commit is contained in:
parent
b22834dae7
commit
0ca9c3f64f
1 changed files with 15 additions and 0 deletions
|
|
@ -473,6 +473,10 @@
|
|||
'misc-error
|
||||
(lambda ()
|
||||
(guard (c ((package-cross-build-system-error? c)
|
||||
#f)
|
||||
((package-unsupported-target-error? c)
|
||||
#f)
|
||||
((unsupported-cross-compilation-target-error? c)
|
||||
#f))
|
||||
(let ((derivation
|
||||
(if target
|
||||
|
|
@ -579,6 +583,17 @@
|
|||
(use-modules (guix platform)))
|
||||
inf)
|
||||
|
||||
(unless (inferior-eval
|
||||
'(defined? 'package-unsupported-target-error?
|
||||
(resolve-module '(guix packages)))
|
||||
inf)
|
||||
(inferior-eval
|
||||
'(define package-unsupported-target-error? (const #f))
|
||||
inf)
|
||||
(inferior-eval
|
||||
'(define unsupported-cross-compilation-target-error? (const #f))
|
||||
inf))
|
||||
|
||||
(format (current-error-port)
|
||||
"heap size: ~a MiB~%"
|
||||
(round
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue