~ruther/guix-config

9c1e2bfccacd54b77113a8e05d3edcd1df3a0eb6 — Rutherther 3 months ago 14f5e1e
fix: target guix build every time
1 files changed, 9 insertions(+), 9 deletions(-)

M Makefile
M Makefile => Makefile +9 -9
@@ 13,7 13,7 @@ target: channels-lock.scm channels-profile.scm channels-manifest.scm
    -f ./channels-profile.scm \
		-r ./target/guix

pull: channels-lock.scm channels-manifest.scm target/guix
pull: channels-lock.scm channels-manifest.scm target
  # TODO: investigate what guix version to use here.
  # How to ensure it is not built twice unnecessarily?
  # The problem is that guix-for-channels actually produces


@@ 21,28 21,28 @@ pull: channels-lock.scm channels-manifest.scm target/guix
  # Maybe it would make sense to have sort of a bootstrap guix
  # built that will not be updated so regularly, and be used
  # only to obtain the guix instances?
	guix install --profile='~/.config/guix/current' \
	guix package --profile='~/.config/guix/current' \
    --manifest=./channels-manifest.scm

system-build: channels-lock.scm target/guix
system-build: channels-lock.scm target
	$(GUIX) system build $(SYSTEM_ARGS)

system-reconfigure: channels-lock.scm target/guix
system-reconfigure: channels-lock.scm target
	$(GUIX) system reconfigure $(SYSTEM_ARGS) --cores=10 --max-jobs=5

system-vm: channels-lock.scm target/guix
system-vm: channels-lock.scm target
	$(GUIX) system vm $(SYSTEM_ARGS)

system-container: channels-lock.scm target/guix
system-container: channels-lock.scm target
	$(GUIX) system container $(SYSTEM_ARGS)

home-build: channels-lock.scm target/guix
home-build: channels-lock.scm target
	$(GUIX) home build $(HOME_ARGS)

home-reconfigure: channels-lock.scm target/guix
home-reconfigure: channels-lock.scm target
	$(GUIX) home reconfigure $(HOME_ARGS) --cores=10 --max-jobs=5

home-container: channels-lock.scm target/guix
home-container: channels-lock.scm target
	$(GUIX) home container $(HOME_ARGS)

channels-lock.scm: channels.scm

Do not follow this link