[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53279] [PATCH] gnu: Add emacs-dtache
From: |
Maxime Devos |
Subject: |
[bug#53279] [PATCH] gnu: Add emacs-dtache |
Date: |
Sat, 15 Jan 2022 12:11:50 +0100 |
User-agent: |
Evolution 3.38.3-1 |
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.
signature.asc
Description: This is a digitally signed message part