guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: make-u-boot-package: Improve error handling.


From: Danny Milosavljevic
Subject: 01/01: gnu: make-u-boot-package: Improve error handling.
Date: Fri, 22 Jun 2018 18:12:02 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit bdd235b30bd8502b6b2241dde0f956d0b50e4572
Author: Danny Milosavljevic <address@hidden>
Date:   Fri Jun 22 23:40:54 2018 +0200

    gnu: make-u-boot-package: Improve error handling.
    
    * gnu/packages/bootloaders.scm (make-u-boot-package): Improve error 
handling.
---
 gnu/packages/bootloaders.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index eb1e433..6e4e021 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]