Fix alacritty build
This commit is contained in:
@@ -609,12 +609,16 @@
|
|||||||
tempfile:
|
tempfile:
|
||||||
state: directory
|
state: directory
|
||||||
register: alacritty_build_tempdir
|
register: alacritty_build_tempdir
|
||||||
|
become: true
|
||||||
|
become_user: rust_build
|
||||||
when: not alacritty_binary.stat.exists
|
when: not alacritty_binary.stat.exists
|
||||||
|
|
||||||
- name: build alacritty
|
- name: build alacritty
|
||||||
command: cargo install alacritty --root ./out
|
shell: . ~/.cargo/env && rustup run stable cargo install alacritty --root ./out
|
||||||
args:
|
args:
|
||||||
chdir: "{{ alacritty_build_tempdir.path }}"
|
chdir: "{{ alacritty_build_tempdir.path }}"
|
||||||
|
become: true
|
||||||
|
become_user: rust_build
|
||||||
when: not alacritty_binary.stat.exists
|
when: not alacritty_binary.stat.exists
|
||||||
|
|
||||||
- name: install alacritty
|
- name: install alacritty
|
||||||
@@ -626,6 +630,8 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ alacritty_build_tempdir.path }}"
|
path: "{{ alacritty_build_tempdir.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
become: true
|
||||||
|
become_user: rust_build
|
||||||
when: not alacritty_binary.stat.exists
|
when: not alacritty_binary.stat.exists
|
||||||
|
|
||||||
when: distro == 'ubuntu'
|
when: distro == 'ubuntu'
|
||||||
|
|||||||
Reference in New Issue
Block a user