summaryrefslogtreecommitdiff
path: root/guix-snakemake-environment
blob: b67ec8ae5e79329b5481169fe3800ba57dbc33be (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

### Set up a pure environment for snakemake.el commands
###
### If `snakemake-shell-file-name' points to this file,
### `snakemake-term-start' will start a terminal with an environment
### that exposes snakemake and the dependencies defined in "guix.scm",
### a file which should be located in the same directory as the
### current Snakefile.

guix environment --pure -l guix.scm --ad-hoc snakemake