[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/buffer-env 1817692a5a 1/2: Add support for flake.nix an
From: |
ELPA Syncer |
Subject: |
[elpa] externals/buffer-env 1817692a5a 1/2: Add support for flake.nix and shell.nix |
Date: |
Thu, 10 Nov 2022 16:57:23 -0500 (EST) |
branch: externals/buffer-env
commit 1817692a5a7751601e8a96d905dc94bfa6b1d485
Author: flogth <flogth@mailbox.org>
Commit: Augusto Stoffel <astoff@users.noreply.github.com>
Add support for flake.nix and shell.nix
---
buffer-env.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/buffer-env.el b/buffer-env.el
index 9f77a64e21..7709e54d21 100644
--- a/buffer-env.el
+++ b/buffer-env.el
@@ -66,6 +66,8 @@
'((".env" . "set -a && >&2 . \"$0\" && env -0")
("manifest.scm" . "guix shell -m \"$0\" -- env -0")
("guix.scm" . "guix shell -D -f \"$0\" -- env -0")
+ ("flake.nix" . "nix develop -c env -0")
+ ("shell.nix" . "nix-shell \"$0\" --run \"env -0\"")
("*" . ">&2 . \"$0\" && env -0"))
"Alist of commands used to produce environment variables.
For each entry, the car is a glob pattern and the cdr is a shell