From: David Craven <david@craven.ch>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add u-boot.
Date: Wed, 31 Aug 2016 23:07:55 +0200 [thread overview]
Message-ID: <CAL1_im=JKeQjVaK3=2wKzwjdGV62KYPpoD-w0Q3XVz27WjHWdQ@mail.gmail.com> (raw)
In-Reply-To: <20160831225534.58cf56b9@scratchpost.org>
> I'm not totally against naming filenames "file" - or "f" for that matter - but I distinguish for good reason.
I believe I renamed your variables... xD
(replace 'install
+ (lambda* (#:key outputs make-flags #:allow-other-keys)
+ (let ((out (string-append (assoc-ref outputs "out") "/libexec")))
+ (mkdir-p out)
+ (for-each (lambda (name)
+ (let ((outname (string-append out "/" name)))
+ (mkdir-p (dirname outname))
+ (copy-file name outname)))
+ (find-files "." ".*\\.(bin|efi)$"))))))))))
next prev parent reply other threads:[~2016-08-31 21:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-29 14:48 [PATCH] gnu: Add dtc David Craven
2016-08-29 14:53 ` David Craven
2016-08-29 17:02 ` Danny Milosavljevic
2016-08-29 16:16 ` [PATCH] gnu: Add u-boot David Craven
2016-08-29 18:27 ` Danny Milosavljevic
2016-08-29 18:30 ` Danny Milosavljevic
2016-08-31 20:40 ` Ludovic Courtès
2016-08-31 20:55 ` Danny Milosavljevic
2016-08-31 21:07 ` David Craven [this message]
2016-09-01 12:11 ` Ludovic Courtès
2016-08-31 20:44 ` [PATCH] gnu: Add dtc 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL1_im=JKeQjVaK3=2wKzwjdGV62KYPpoD-w0Q3XVz27WjHWdQ@mail.gmail.com' \
--to=david@craven.ch \
--cc=dannym@scratchpost.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).