[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27097: closed ([PATCH] gnu: Add emacs-direnv.)

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27097: closed ([PATCH] gnu: Add emacs-direnv.)
Date: Sun, 28 May 2017 20:11:02 +0000

Your message dated Sun, 28 May 2017 22:09:57 +0200
with message-id <address@hidden>
and subject line Re: bug#27097: [PATCH] gnu: Add emacs-direnv.
has caused the debbugs.gnu.org bug report #27097,
regarding [PATCH] gnu: Add emacs-direnv.
to be marked as done.

(If you believe you have received this mail in error, please contact

27097: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27097
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-direnv. Date: Sat, 27 May 2017 11:56:41 +0100
* gnu/packages/emacs.scm (emacs-direnv): New variable.
 gnu/packages/emacs.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a59a4ca69..f378ec368 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1227,6 +1227,37 @@ or XEmacs.")
 the Emacs buffer.")
     (license license:gpl3+)))
+(define-public emacs-direnv
+  (package
+    (name "emacs-direnv")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/wbolster/emacs-direnv/archive/";
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("dash" ,emacs-dash)
+       ("with-editor" ,emacs-with-editor)))
+    (home-page "https://github.com/wbolster/emacs-direnv";)
+    (synopsis "Direnv integration for Emacs")
+    (description
+     "This package provides support for invoking direnv to get the environment
+for the current file and updating the environment within Emacs to match.
+Direnv can be invoked manually, and a global minor mode is included that will
+update the environment when the active buffer changes.
+Using emacs-direnv means that programs started from Emacs will use the
+environment set through Direnv.")
+    (license license:gpl3+)))
 (define-public emacs-google-maps
     (name "emacs-google-maps")

--- End Message ---
--- Begin Message --- Subject: Re: bug#27097: [PATCH] gnu: Add emacs-direnv. Date: Sun, 28 May 2017 22:09:57 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Christopher Baines <address@hidden> skribis:

> * gnu/packages/emacs.scm (emacs-direnv): New variable.

Applied, thanks!

I wish Emacs-Guix had similar integration with ‘guix environment’.   :-)

Perhaps we should also provide shell hooks to provide an experience
comparable to that of direnv?


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]