~ruther/guix-config

ref: 49b14334a4aa71915c8267e4d776b6bddc8664bd guix-config/Makefile -rw-r--r-- 1003 bytes
49b14334 — Rutherther fix: channels-lock.scm should be used in 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-lock.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