summaryrefslogtreecommitdiff
path: root/guix-snakemake-environment
blob: 18f6c852519854a5d45bb4c941776f4b78a6b0d8 (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' 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