aboutsummaryrefslogtreecommitdiff
path: root/distro/packages
diff options
context:
space:
mode:
Diffstat (limited to 'distro/packages')
-rw-r--r--distro/packages/base.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index 5f23bc0064..5e0b30ce89 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -1391,7 +1391,10 @@ with the Linux kernel.")
(build (lambda* (store name source inputs #:key outputs system)
(define (->store file)
(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"))
(xz (->store "xz"))