From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] packages: Add 'search-patches'.
Date: Sat, 9 Apr 2016 11:17:56 +0300 [thread overview]
Message-ID: <1460189877-5067-1-git-send-email-alezost@gmail.com> (raw)
* 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
next reply other threads:[~2016-04-09 8:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-09 8:17 Alex Kost [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1460189877-5067-1-git-send-email-alezost@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.