summaryrefslogtreecommitdiff
path: root/guix-snakemake-environment
blob: 7f7e7476fea796e7d5b1c747a011e0bb5c519994 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env 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