fixed stack.yaml syntax

This commit is contained in:
Afonso Franco 2023-01-29 03:22:10 +00:00
parent cae4ceb636
commit 7aa072a15c
Signed by: afonso
GPG key ID: C459E0BB3DCEE899

View file

@ -7,7 +7,7 @@ cd /home/afonso/.config/xmonad/ || exit
git clone https://codeberg.org/xmobar/xmobar /home/afonso/.config/xmobar/xmobar-git/
cd /home/afonso/.config/xmobar/
~/.ghcup/bin/stack init
sed -i "s/# flags: {}/ flags:\n xmobar:\n all_extensions: true\n with_threaded: true/" /home/afonso/.config/xmobar/stack.yaml
sed -i "s/# extra-deps: \[\]/ extra-deps:\n - netlink-1.1.1.0/" /home/afonso/.config/xmobar/stack.yaml
sed -i "s/# flags: {}/flags:\n xmobar:\n all_extensions: true\n with_threaded: true/" /home/afonso/.config/xmobar/stack.yaml
sed -i "s/# extra-deps: \[\]/extra-deps:\n - netlink-1.1.1.0/" /home/afonso/.config/xmobar/stack.yaml
~/.ghcup/bin/stack install