From: Maxime Devos <maximedevos@telenet.be>
To: Niklas Eklund <niklas.eklund@posteo.net>, 53279@debbugs.gnu.org
Subject: [bug#53279] [PATCH] gnu: Add emacs-dtache
Date: Sat, 15 Jan 2022 12:11:50 +0100 [thread overview]
Message-ID: <d11eb6723931c9e8c8f8e87faa08b833de4d247c.camel@telenet.be> (raw)
In-Reply-To: <87pmotpfam.fsf@posteo.net>
[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]
Hi,
Niklas Eklund schreef op za 15-01-2022 om 08:35 [+0000]:
> + (modify-phases %standard-phases
> + (add-before 'install 'install-dtache-env
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (bin (string-append out "/bin")))
> + (mkdir-p bin)
> + (copy-file "dtache-env"
> + (string-append bin "/dtache-env"))))))))
FWIW you can eliminate (#:key outputs #:allow-other-keys) here:
,#~(modify-phases %standard-phases
(add-before 'install 'install-dtache-env
(lambda _
(let ((bin (string-append #$output "/bin)))
(mkdir-p bin)
(copy-file "dtache-env"
(string-append bin "/dtache-env"))))))))
YMMV on whether that's an improvement or not -- technically
they are equivalent.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2022-01-15 11:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-15 8:35 [bug#53279] [PATCH] gnu: Add emacs-dtache Niklas Eklund
2022-01-15 11:11 ` Maxime Devos [this message]
2022-01-15 14:31 ` Niklas Eklund
2022-01-15 17:08 ` Niklas Eklund
2022-01-15 20:25 ` Nicolas Goaziou
[not found] ` <87ee587itt.fsf@posteo.net>
2022-01-16 22:56 ` Nicolas Goaziou
[not found] ` <87h7a2y27d.fsf@posteo.net>
2022-01-19 17:11 ` bug#53279: " Nicolas Goaziou
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=d11eb6723931c9e8c8f8e87faa08b833de4d247c.camel@telenet.be \
--to=maximedevos@telenet.be \
--cc=53279@debbugs.gnu.org \
--cc=niklas.eklund@posteo.net \
/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).