-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (26 loc) · 882 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
GUIX:=/usr/local/bin/guix
GUIXTM:=${GUIX} time-machine --channels=guix/channels.pinned.scm -- \
shell --manifest=guix/manifest.scm
GUIXTME:=${GUIX} time-machine --channels=guix/channels.pinned.scm -- \
shell --manifest=guix/manifest-ethics.scm
DATE=$(shell date +'%Y%m%d')
GITHEAD=$(shell git rev-parse --short HEAD)
GITHEADL=$(shell git rev-parse HEAD)
.DELETE_ON_ERROR:
.PHONEY: \
clean \
guix-pin-channels
## pinning guix channels to latest commits
guix-pin-channels: guix/channels.pinned.scm
guix/channels.pinned.scm: guix/channels.scm FORCE
${GUIX} time-machine --channels=guix/channels.scm -- \
describe -f channels > guix/channels.pinned.scm
.PHONEY:
shell:
${GUIX} time-machine --channels=guix/channels.pinned.scm -- \
shell --manifest=guix/manifest.scm
.PHONEY:
randomise:
${GUIXTME} -- Rscript --vanilla ethics/randomisation/blockrand.R
FORCE:
clean: