aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bootloaders.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-06-22 23:40:54 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-06-22 23:40:54 +0200
commitbdd235b30bd8502b6b2241dde0f956d0b50e4572 (patch)
treec8bee7ae74df720456b1b523851a1d39b973a17c /gnu/packages/bootloaders.scm
parent1829f7efddee5cafdb10698f66122bc8a3d216ab (diff)
downloadguix-bdd235b30bd8502b6b2241dde0f956d0b50e4572.tar
guix-bdd235b30bd8502b6b2241dde0f956d0b50e4572.tar.gz
gnu: make-u-boot-package: Improve error handling.
* gnu/packages/bootloaders.scm (make-u-boot-package): Improve error handling.
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r--gnu/packages/bootloaders.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index eb1e433ba7..6e4e021180 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -500,7 +500,7 @@ board-independent tools.")))
(string-drop-right file-name
suffix-len))))
(sort entries string-ci<)))
- #f)))))
+ (error "Invalid boardname ~s." ,board))))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))