[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: pack: Correctly report "unknown pack format" errors.
From: |
Ludovic Courtès |
Subject: |
02/02: pack: Correctly report "unknown pack format" errors. |
Date: |
Fri, 31 Aug 2018 11:27:02 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 301aa9e76c76026628e2abc88104410e0150b409
Author: Ludovic Courtès <address@hidden>
Date: Fri Aug 31 17:26:19 2018 +0200
pack: Correctly report "unknown pack format" errors.
* guix/scripts/pack.scm (guix-pack): Fix "unknown pack format" error
message.
---
guix/scripts/pack.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 7298508..fb0677d 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -748,8 +748,8 @@ Create a bundle of PACKAGE.\n"))
(build-image (match (assq-ref %formats pack-format)
((? procedure? proc) proc)
(#f
- (leave (G_ "~a: unknown pack format")
- format))))
+ (leave (G_ "~a: unknown pack format~%")
+ pack-format))))
(localstatedir? (assoc-ref opts 'localstatedir?)))
(run-with-store store
(mlet* %store-monad ((profile (profile-derivation