From: Xinglu Chen <public@yoctocell.xyz>
To: 46944@debbugs.gnu.org
Subject: [bug#46944] [PATCH] gnu: Add emacs-envrc.
Date: Fri, 05 Mar 2021 13:33:10 +0100 [thread overview]
Message-ID: <b1c199dc8c5cc3dea0997c607df8066b5b38143d.1614947571.git.public@yoctocell.xyz> (raw)
* gnu/packages/emacs-xyz.scm (emacs-envrc): New variable.
---
gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 93dc4f86e9..e6dfe203a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -93,6 +93,7 @@
;;; Copyright © 2021 Alexandr Vityazev <avityazew@gmail.com>
;;; Copyright © 2021 Yurii Kholodkov <urist.mckorobochka@gmail.com>
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
+;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -13615,6 +13616,31 @@ query them from the comfort of your editor.")
(home-page "https://github.com/hrs/engine-mode")
(license license:gpl3+)))
+(define-public emacs-envrc
+ (package
+ (name "emacs-envrc")
+ (version "0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/purcell/envrc")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ssf9i6iym2rb530k2w5aj392qa73i6p5y0vwrs5qhkv9lagqq7p"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/purcell/envrc")
+ (synopsis "Support for Direnv which operates buffer-locally")
+ (description "This is library which uses Direnv to set environment
+variables on a per-buffer basis. This means that when you work across
+multiple projects which have @file{.envrc} files, all processes launched from
+the buffers \"in\" those projects will be executed with the environment
+variables specified in those files. This allows different versions of linters
+and other tools to be used in each project if desired.")
+ (license license:gpl3+)))
+
(define-public emacs-prop-menu
(package
(name "emacs-prop-menu")
base-commit: c9d42d611c43e485fe39ef0adc2b032a4aec8fae
--
2.30.0
next reply other threads:[~2021-03-05 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-05 12:33 Xinglu Chen [this message]
2021-03-05 16:26 ` bug#46944: [PATCH] gnu: Add emacs-envrc 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b1c199dc8c5cc3dea0997c607df8066b5b38143d.1614947571.git.public@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=46944@debbugs.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.