[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] packages: Add 'search-patches'.
From: |
Alex Kost |
Subject: |
[PATCH 1/2] packages: Add 'search-patches'. |
Date: |
Sat, 9 Apr 2016 11:17:56 +0300 |
* gnu/packages.scm (search-patches): New macro.
---
gnu/packages.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages.scm b/gnu/packages.scm
index bbd460a..979d93a 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -37,6 +37,7 @@
#:use-module (srfi srfi-35)
#:use-module (srfi srfi-39)
#:export (search-patch
+ search-patches
search-bootstrap-binary
%patch-path
%bootstrap-binaries-path
@@ -76,6 +77,10 @@
(&message (message (format #f (_ "~a: patch not found")
file-name)))))))
+(define-syntax-rule (search-patches file-name ...)
+ "Return the list of patches for each FILE-NAME."
+ (list (search-patch file-name) ...))
+
(define (search-bootstrap-binary file-name system)
"Search the bootstrap binary FILE-NAME for SYSTEM. Raise an error if not
found."
--
2.7.3
- [PATCH 1/2] packages: Add 'search-patches'.,
Alex Kost <=
Re: [PATCH 1/2] packages: Add 'search-patches'., Ludovic Courtès, 2016/04/09