From b6441f7bd0257783fffecfc6b6b3c6f2950204c2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 13 Sep 2023 14:06:19 +0200 Subject: [PATCH] upstream: Compare symbols to symbols. The UNCHANGED? comparison would always yield #FALSE, because we have been comparing lists of strings with lists of symbols. * guix/upstream.scm (update-package-inputs): Convert string labels to symbols before comparison. --- guix/upstream.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix/upstream.scm b/guix/upstream.scm index 33248d645cc..e28ae12f3f7 100644 --- a/guix/upstream.scm +++ b/guix/upstream.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2010-2023 Ludovic Courtès ;;; Copyright © 2015 Alex Kost -;;; Copyright © 2019, 2022 Ricardo Wurmus +;;; Copyright © 2019, 2022, 2023 Ricardo Wurmus ;;; Copyright © 2021 Sarah Morgensen ;;; Copyright © 2021, 2022 Maxime Devos ;;; Copyright © 2022 Hartmut Goebel @@ -534,7 +534,8 @@ specified in SOURCE, an ." (define old (match (package-inputs package) (((labels (? package? packages)) ...) - labels) + labels + (map string->symbol labels)) (_ '())))