[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
[bug#73073] [PATCH 5/6] gnu: farstream: Move common origin from phases to native-inputs., Simon Tournier, 2024/09/06
[bug#73073] [PATCH 6/6] gnu: gnulib: Move phobos origin from phases to native-inputs., Simon Tournier, 2024/09/06
[bug#73073] [PATCH 1/6] guix: packages: Allow origin with label as inputs.,
Simon Tournier <=
[bug#73073] [PATCH 0/6] Allow origin with label as inputs., Ludovic Courtès, 2024/09/06
[bug#73073] [PATCH v2 0/8] Allow origin inside inputs with "new style"., Simon Tournier, 2024/09/09
[bug#73073] [PATCH v2 3/8] gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs., Simon Tournier, 2024/09/09