summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-09-01 00:41:30 -0400
committerKyle Meyer <kyle@kyleam.com>2018-09-01 00:47:21 -0400
commita5f868f79d98424d59c84b17178a9356254a9504 (patch)
tree2de23bf8a8581433cf143ecf2537b5b09fe021a1
parenta65acf9e3bb7941cb84e4c6ac2a11236491cc1f5 (diff)
downloadsnakemake-mode-a5f868f79d98424d59c84b17178a9356254a9504.tar.gz
Change 'guix environment' snippet to use --manifest
'guix environment' accepts a manifest as of 267379f85 (environment: Add --manifest option., 2018-02-15). Declaring a set of dependencies via --manifest is more straightforward than doing so with --load, so suggest --manifest instead.
-rwxr-xr-xguix-snakemake-environment2
-rw-r--r--snakemake.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/guix-snakemake-environment b/guix-snakemake-environment
index b67ec8a..1aa003e 100755
--- a/guix-snakemake-environment
+++ b/guix-snakemake-environment
@@ -8,4 +8,4 @@
### a file which should be located in the same directory as the
### current Snakefile.
-guix environment --pure -l guix.scm --ad-hoc snakemake
+guix environment --pure -m manifest.scm --ad-hoc snakemake
diff --git a/snakemake.el b/snakemake.el
index 1103ba6..bd459ed 100644
--- a/snakemake.el
+++ b/snakemake.el
@@ -627,7 +627,7 @@ 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 --pure -l guix.scm --ad-hoc snakemake
+ guix environment --pure -m manifest.scm --ad-hoc snakemake
The file 'guix-snakemake-environment' in Snakemake mode's source
directory can be used for this purpose."