move systemctl command to makefile
This commit is contained in:
parent
d82554806b
commit
1356e2d6b8
5
Makefile
5
Makefile
|
@ -29,7 +29,10 @@ help:
|
|||
cat Makefile
|
||||
|
||||
define machine_rule
|
||||
$(1): ; $$(NIX_RUN)switch/$(1)
|
||||
$(1): ;
|
||||
systemctl --user reset-failed
|
||||
$$(NIX_RUN)switch/$(1)
|
||||
|
||||
$(1)-test: ; $$(NIX_RUN)test/$(1)
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue