all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] packages: Add 'search-patches'.
@ 2016-04-09  8:17 Alex Kost
  2016-04-09  8:17 ` [PATCH 2/2] gnu: packages: Use 'search-patches' everywhere Alex Kost
  2016-04-09 15:06 ` [PATCH 1/2] packages: Add 'search-patches' Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Alex Kost @ 2016-04-09  8:17 UTC (permalink / raw)
  To: guix-devel

* 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-14  8:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09  8:17 [PATCH 1/2] packages: Add 'search-patches' Alex Kost
2016-04-09  8:17 ` [PATCH 2/2] gnu: packages: Use 'search-patches' everywhere Alex Kost
2016-04-09 15:08   ` Ludovic Courtès
2016-04-09 17:25     ` Alex Kost
2016-04-13 20:53       ` Ludovic Courtès
2016-04-14  8:07         ` Alex Kost
2016-04-09 15:06 ` [PATCH 1/2] packages: Add 'search-patches' Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.