mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-25 00:38:42 +00:00
19 lines
581 B
YAML
19 lines
581 B
YAML
- name: Download ghcup bootstrap script
|
|
ansible.builtin.uri:
|
|
url:
|
|
return_content: yes
|
|
register: ghcup_bootstrap
|
|
|
|
- name: Install ghcup, stack, lsp server
|
|
ansible.builtin.shell:
|
|
cmd: sh
|
|
stdin: {{ ghcup_bootstrap.content }}
|
|
environment:
|
|
SHELL: /usr/bin/fish # TODO: detect fish install ??
|
|
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
|
BOOTSTRAP_HASKELL_GHC_VERSION: latest
|
|
BOOTSTRAP_HASKELL_CABAL_VERSION: latest
|
|
BOOTSTRAP_HASKELL_INSTALL_STACK: 1
|
|
BOOTSTRAP_HASKELL_INSTALL_HLS: 1
|
|
BOOTSTRAP_HASKELL_ADJUST_BASHRC: P
|
|
|