summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..14fdb7b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
1.DEFAULT_GOAL := reconfigure
2
3CHANNELS_FILE=./channels-lock.scm
4GUIXTM=guix time-machine -C ${CHANNELS_FILE}
5GUIXTM_LOCAL_RDE=guix time-machine -L ./env/guix -C ${CHANNELS_FILE_LOCAL_RDE}
6
7GUIX=$(GUIXTM) --
8
9repl:
10 ${GUIX} shell guile-next guile-ares-rs \
11 -e '((@ (rde packages guix) make-guix-package) (load "${CHANNELS_FILE}"))' \
12 -e '((@ (rde packages guix) make-channels-package) (load "${CHANNELS_FILE}"))' \
13 -- guile \
14 -L ./src \
15 -c \
16 "(begin (use-modules (guix gexp)) ((@ (ares server) run-nrepl-server)))"
17
18reconfigure:
19 sudo -E ${GUIX} system -L ./src reconfigure -e "(@ (jd config) %os)"