From 96dbcd7443afed784ee45739db0b1ed1d8c36071 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 23 Apr 2022 00:46:14 -0400 Subject: pack: Fix match error for multi-packages deb packs. * guix/scripts/pack.scm: Remove duplicated copyright line. (debian-archive)[single-entry]: Match one or anything, not one or zero. Reported-by: jgart --- guix/scripts/pack.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index 38bc021665..ebb3c6498f 100644 --- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -5,9 +5,8 @@ ;;; Copyright © 2018 Chris Marusich ;;; Copyright © 2018 Efraim Flashner ;;; Copyright © 2020 Tobias Geerinckx-Rice -;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer ;;; Copyright © 2020 Eric Bavier -;;; Copyright © 2021 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -750,7 +749,7 @@ (define single-entry ;manifest entry (match (manifest-entries manifest) ((entry) entry) - (() #f))) + (_ #f))) (define package-name (or (and=> single-entry manifest-entry-name) (manifest->friendly-name manifest))) -- cgit v1.2.3