diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-03-31 22:28:56 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-03-31 23:40:03 -0400 |
commit | 43f8536aee86d52e52cfa4cfc6d2e00e2ca4b04c (patch) | |
tree | 5cc8298a808015a58a3f5678ba42cab2e248a0cf /snakemake.el | |
parent | ea8d0af781400eb5d5f6409c26f61336147fc2b5 (diff) | |
download | snakemake-mode-43f8536aee86d52e52cfa4cfc6d2e00e2ca4b04c.tar.gz |
Include an example of a snakemake-shell-file-name script
Diffstat (limited to 'snakemake.el')
-rw-r--r-- | snakemake.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/snakemake.el b/snakemake.el index ac2db17..278afcd 100644 --- a/snakemake.el +++ b/snakemake.el @@ -595,7 +595,10 @@ that starts a shell with the desired environment. For example, to set up an enviroment with Guix, `snakemake-shell-file-name' could point to a script that runs - guix environment -l guix.scm --ad-hoc snakemake --pure" + guix environment -l guix.scm --ad-hoc snakemake --pure + +The file 'guix-snakemake-environment' in Snakemake mode's source +directory can be used for this purpose." (interactive) (let ((default-directory (snakemake-snakefile-directory))) (unless (snakemake-term-process) |