[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: emacs-direnv: Patch the reference to direnv.
From: |
guix-commits |
Subject: |
branch master updated: gnu: emacs-direnv: Patch the reference to direnv. |
Date: |
Fri, 06 Aug 2021 00:45:48 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 0d72f24 gnu: emacs-direnv: Patch the reference to direnv.
0d72f24 is described below
commit 0d72f24ac084acf9d69e147a692e5d8bcb2ea21b
Author: Katherine Cox-Buday <cox.katherine.e@gmail.com>
AuthorDate: Fri Aug 6 00:38:31 2021 -0400
gnu: emacs-direnv: Patch the reference to direnv.
* gnu/packages/emacs-xyz.scm (emacs-direnv)
[phases]{patch-in-direnv}: New phase.
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/emacs-xyz.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9cbd99b..c7730ca 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -210,6 +210,7 @@
#:use-module (gnu packages sphinx)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages shells)
+ #:use-module (gnu packages shellutils)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gnupg)
@@ -2888,6 +2889,18 @@ overlay below or above the point. Corfu can be
considered the minimalistic
(sha256
(base32 "0xkqn4604k2imas6azy1www56br8ls4iv9a44pxcd8h94j1fp44d"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-in-direnv
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((direnv-path (assoc-ref inputs "direnv"))
+ (direnv-bin (string-append
+ "\"" direnv-path "/bin/direnv\"")))
+ (substitute* "direnv.el"
+ (("\"direnv\"") direnv-bin))))))))
+ (inputs
+ `(("direnv" ,direnv)))
(propagated-inputs
`(("dash" ,emacs-dash)
("with-editor" ,emacs-with-editor)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: emacs-direnv: Patch the reference to direnv.,
guix-commits <=