aboutsummaryrefslogtreecommitdiff
path: root/guix-snakemake-environment
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-03-31 22:28:56 -0400
committerKyle Meyer <kyle@kyleam.com>2017-03-31 23:40:03 -0400
commit43f8536aee86d52e52cfa4cfc6d2e00e2ca4b04c (patch)
tree5cc8298a808015a58a3f5678ba42cab2e248a0cf /guix-snakemake-environment
parentea8d0af781400eb5d5f6409c26f61336147fc2b5 (diff)
downloadsnakemake-mode-43f8536aee86d52e52cfa4cfc6d2e00e2ca4b04c.tar.gz
Include an example of a snakemake-shell-file-name script
Diffstat (limited to 'guix-snakemake-environment')
-rwxr-xr-xguix-snakemake-environment11
1 files changed, 11 insertions, 0 deletions
diff --git a/guix-snakemake-environment b/guix-snakemake-environment
new file mode 100755
index 0000000..18f6c85
--- /dev/null
+++ b/guix-snakemake-environment
@@ -0,0 +1,11 @@
+#!/usr/bin/env sh
+
+### Set up a pure environment for snakemake.el commands
+###
+### If `snakemake-shell-file-name' is points to this file,
+### `snakemake-term-start` will start a terminal with an environment
+### that exposes snakemake and the dependencies defined in "guix.scm",
+### which should be located in the same directory as the current
+### Snakefile.
+
+guix environment --pure -l guix.scm --ad-hoc snakemake