guix-patches
[Top][All Lists]
Advanced

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

[bug#73073] [PATCH 1/6] guix: packages: Allow origin with label as input


From: Simon Tournier
Subject: [bug#73073] [PATCH 1/6] guix: packages: Allow origin with label as inputs.
Date: Fri, 6 Sep 2024 17:54:29 +0200

* guix/packages.scm (add-input-label): Allow the old style pattern using label
as it is sometimes required by origins listed under inputs record field.

Change-Id: I799612976a0051d4c953969d12d71913c9243cd4
---
 guix/packages.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/packages.scm b/guix/packages.scm
index f373136d22..5fea44c2bb 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -676,6 +676,8 @@ (define (add-input-label input)
               "_")
          ,obj
          ,@(if (string=? output "out") '() (list output)))))
+    (((? string? label) obj) ;Allow old style as sometimes requires by origin 
in inputs
+     `(,label ,obj))
     (x
      `("_" ,x))))
 
-- 
2.45.2






reply via email to

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