blob: ac9ec3849878938bfd45f631e0f24bc90d15a900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.DEFAULT_GOAL := reconfigure
CHANNELS_FILE=./channels-lock.scm
GUIXTM=guix time-machine -C ${CHANNELS_FILE}
GUIXTM_LOCAL_RDE=guix time-machine -L ./env/guix -C ${CHANNELS_FILE_LOCAL_RDE}
GUIX=$(GUIXTM) --
repl:
${GUIX} shell guile-next guile-ares-rs \
-e '((@ (rde packages guix) make-guix-package) (load "${CHANNELS_FILE}"))' \
-e '((@ (rde packages guix) make-channels-package) (load "${CHANNELS_FILE}"))' \
-- guile \
-L ./src \
-c \
"(begin (use-modules (guix gexp)) ((@ (ares server) run-nrepl-server)))"
reconfigure:
sudo -E ${GUIX} system -L ./src reconfigure \
-e "(@ (jd config) %os)" \
--substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org'
|