Skip to content
Snippets Groups Projects
Commit a5a349f3 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

distro: Provide a more descriptive report when a bootstrap binary is missing.

* distro/packages/base.scm (%bootstrap-guile): Error out when
  `search-bootstrap-binary' returns #f.
parent d6e87776
No related branches found
No related tags found
No related merge requests found
...@@ -1391,7 +1391,10 @@ (define %bootstrap-guile ...@@ -1391,7 +1391,10 @@ (define %bootstrap-guile
(build (lambda* (store name source inputs #:key outputs system) (build (lambda* (store name source inputs #:key outputs system)
(define (->store file) (define (->store file)
(add-to-store store file #t #t "sha256" (add-to-store store file #t #t "sha256"
(search-bootstrap-binary file system))) (or (search-bootstrap-binary file
system)
(error "bootstrap binary not found"
file system))))
(let* ((tar (->store "tar")) (let* ((tar (->store "tar"))
(xz (->store "xz")) (xz (->store "xz"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment