ENH print what packages are being installed for emacs
This commit is contained in:
parent
0a9d2f8e41
commit
21e7d6b6ab
|
@ -70,6 +70,7 @@ run_yay() {
|
||||||
pacman --needed -S emacs
|
pacman --needed -S emacs
|
||||||
IFS=' ' read -r -a emacs_pkgs \
|
IFS=' ' read -r -a emacs_pkgs \
|
||||||
< <(get_emacs_packages "(nd/get-aur-dependencies t)")
|
< <(get_emacs_packages "(nd/get-aur-dependencies t)")
|
||||||
|
echo "Emacs requires the following system pkgs: ${emacs_pkgs[*]}"
|
||||||
|
|
||||||
## other packages for random gizmos
|
## other packages for random gizmos
|
||||||
dunst_pkgs=(dunst)
|
dunst_pkgs=(dunst)
|
||||||
|
|
|
@ -54,6 +54,7 @@ IFS=' ' read -r -a emacs_stack_pkgs \
|
||||||
< <(emacs -batch -l "$emacs_dir/init.el" --eval \
|
< <(emacs -batch -l "$emacs_dir/init.el" --eval \
|
||||||
"(print (s-join \" \" (nd/get-stack-dependencies)))" 2>/dev/null | \
|
"(print (s-join \" \" (nd/get-stack-dependencies)))" 2>/dev/null | \
|
||||||
sed -n -e 's/"\(.*\)"/\1/p')
|
sed -n -e 's/"\(.*\)"/\1/p')
|
||||||
|
echo "Emacs requires the following Haskell packages: ${emacs_stack_pkgs[*]}"
|
||||||
for p in "${emacs_stack_pkgs[@]}";
|
for p in "${emacs_stack_pkgs[@]}";
|
||||||
do
|
do
|
||||||
stack install "$p"
|
stack install "$p"
|
||||||
|
|
Loading…
Reference in New Issue