~ruther/guix-config

ref: 7ed83ca51fed9a570da7e0a5cff9191063da329f guix-config/Makefile -rw-r--r-- 998 bytes
7ed83ca5 — Rutherther fix: makefile 7 months ago
                                                                                
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
.PHONY: system-reconfigure system-vm system-container system-build pull home-reconfigure home-vm home-container home-build

SYSTEM_ARGS = -L ./modules ./config.scm
HOME_ARGS = -L ./home/modules ./home/home-configuration.scm
TIMEMACHINE = guix time-machine -C channels.scm

system-build: channels-lock.scm
	$(TIMEMACHINE) -- system build $(SYSTEM_ARGS)

system-reconfigure: channels-lock.scm
	$(TIMEMACHINE) -- system reconfigure $(SYSTEM_ARGS)

system-vm: channels-lock.scm
	$(TIMEMACHINE) -- system vm $(SYSTEM_ARGS)

system-container: channels-lock.scm
	$(TIMEMACHINE) -- system container $(SYSTEM_ARGS)

home-build: channels-lock.scm
	$(TIMEMACHINE) -- home build $(HOME_ARGS)

home-reconfigure: channels-lock.scm
	$(TIMEMACHINE) -- home reconfigure $(HOME_ARGS)

home-container: channels-lock.scm
	$(TIMEMACHINE) -- home container $(HOME_ARGS)

channels-lock.scm: channels.scm
	$(TIMEMACHINE) -- describe -f channels > channels-lock.scm

pull: channels-lock.scm
	guix pull -C channels-lock.scm
Do not follow this link