aboutsummaryrefslogtreecommitdiff
path: root/guix-snakemake-environment
blob: 1aa003e191dccc09665675d0ef6d307ec2cd5942 (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 -m manifest.scm --ad-hoc snakemake