summaryrefslogtreecommitdiff
path: root/guix/rde/Makefile
blob: f829718c2d6ce627221e44f1efecfb1a27950ddc (plain)
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
# profiles.mk provides guix version specified by rde/channels-lock.scm
# To rebuild channels-lock.scm use `make -B rde/channels-lock.scm`
include profiles.mk

# Also defined in .envrc to make proper guix version available project-wide
GUIX_PROFILE=target/profiles/guix
GUIX=./pre-inst-env ${GUIX_PROFILE}/bin/guix

SRC_DIR=./src
CONFIGS=${SRC_DIR}/abcdw/configs.scm
PULL_EXTRA_OPTIONS=
# --allow-downgrades

ROOT_MOUNT_POINT=/mnt

VERSION=latest

target:
	mkdir -p target

build-home: guix
	${GUIX} home build ./src/wkz-p1.scm

install-home: guix
	${GUIX} home reconfigure ./src/wkz-p1.scm -v 5

rollback-home: guix
	${GUIX} home roll-back

clean-target:
	rm -rf ./target

clean: clean-target