examples: emacs: Load packages list in the absolute path.

This commit is contained in:
Hilton Chain 2026-06-15 22:42:22 +08:00
parent 40a0e474c7
commit a1452f76ac
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -2,13 +2,13 @@
TOP_DIR="$(dirname "$(realpath "$0")")"
# Install packages.
echo '
echo "
(use-modules (guix packages)
(guix scripts install))
(apply guix-install
(map package-name
(load "packages")))' |
(load \"$TOP_DIR/packages\")))" |
guix repl --type=machine
# Install configuration file.