blob: ee4387ddf12dbbb94607a54f33e6d63b73bc494a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
.DEFAULT_GOAL := reconfigure
CHANNELS_FILE=./channels-lock.scm
GUIXTM=guix time-machine -C ${CHANNELS_FILE}
GUIX=$(GUIXTM) --
env:
guix build \
-e '((@ (gnu packages package-management) guix-for-channels) (load "${CHANNELS_FILE}"))' \
-r guix
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'
|