GNU bug report logs -
#36429
[PATCH] profiles: Adjust packages->manifest pattern for inferior packages.
Previous Next
Reported by: Kyle Meyer <kyle <at> kyleam.com>
Date: Sat, 29 Jun 2019 05:51:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 03 Jul 2019 11:16:36 +0200
with message-id <878stf4gwb.fsf <at> gnu.org>
and subject line Re: [bug#36429] [PATCH] profiles: Adjust packages->manifest pattern for inferior packages.
has caused the debbugs.gnu.org bug report #36429,
regarding [PATCH] profiles: Adjust packages->manifest pattern for inferior packages.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
36429: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36429
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* guix/profiles.scm (packages->manifest): Add package? predicate to `(package
output)' pattern to avoid incorrectly matching `(inferior-package output)',
which should be handled by a later clause.
---
guix/profiles.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/profiles.scm b/guix/profiles.scm
index dfc9ba1ca0..f5c863945c 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2016 Chris Marusich <cmmarusich <at> gmail.com>
;;; Copyright © 2017 Huang Ying <huang.ying.caritas <at> gmail.com>
;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2019 Kyle Meyer <kyle <at> kyleam.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -337,7 +338,7 @@ (define (packages->manifest packages)
(manifest
(map (match-lambda
- ((package output)
+ (((? package? package) output)
(package->manifest-entry package output))
((? package? package)
(package->manifest-entry package))
--
2.22.0
[Message part 3 (message/rfc822, inline)]
Hello Kyle,
Kyle Meyer <kyle <at> kyleam.com> skribis:
> * guix/profiles.scm (packages->manifest): Add package? predicate to `(package
> output)' pattern to avoid incorrectly matching `(inferior-package output)',
> which should be handled by a later clause.
Good catch. Applied, thanks!
Ludo’.
This bug report was last modified 5 years and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.