diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2022-10-17 16:45:38 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2022-10-17 16:46:18 -0600 |
commit | ae424be9fb4a70e78dcb384bd6210ebcfe024d1b (patch) | |
tree | 0e03b8a0b5b5cf9593958ec09c92ee6b813f3552 /Makefile | |
parent | 30e37d22db4b336515c3ea3233e2ef3978735d1d (diff) | |
download | dotfiles-ae424be9fb4a70e78dcb384bd6210ebcfe024d1b.tar.gz dotfiles-ae424be9fb4a70e78dcb384bd6210ebcfe024d1b.tar.xz |
make: add `update-channels` target
Manually updating channels is boring.
Borrowed from [System Crafters][0].
[0]: https://systemcrafters.net/craft-your-system-with-guix/using-package-channels/
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ pull: news: guix time-machine -C $(CHANNEL_FILE) -- pull --news +.PHONY: update-channels +update-channels: + guix pull --channels=$(CHANNEL_FILE) + guix describe --format=channels > $(CHANNEL_FILE) + .PHONY: reconfigure-home reconfigure-home: guix time-machine -C $(CHANNEL_FILE) -- home reconfigure $(RECONFIGURE_FLAGS) homes/$(HOSTNAME).scm |