fixing formatting and dependencies

This commit is contained in:
Matthew Stobbs
2025-01-25 18:45:37 -07:00
parent 391e8ee226
commit 66eaed6e4b
33 changed files with 95 additions and 75 deletions

View File

@@ -3,16 +3,17 @@
file: nushell.yml
name: _nushell
- ansible.builtin.set_fact:
pkgconfig:
nushell: "{{ _nushell | ansible.builtin.combine(pkgconfig.nushell) }}"
pkgconfig_nushell: "{{ _nushell | ansible.builtin.combine(pkgconfig.nushell) }}"
- ansible.builtin.include_tasks:
file: "pkgs/{{ dep }}.yml"
loop: "{{ pkgconfig.nushell.deps }}"
loop_control:
loop_var: dep
file: pkgs/rust.yml
when: pkgconfig_rust not defined
- ansible.builtin.include_tasks:
file: pkgs/carapace.yml
when: pkgconfig_carapace not defined
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + pkgsconfig.nushell.build_deps[ansible_os_family] }}"
cargopkgs: "{{ cargopkgs + pkgconfig.nushell.pkgs[ansible_os_family] + pkgconfig.nushell.pkgs_common }}"
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + pkgsconfig_nushell.build_deps[ansible_os_family] }}"
cargopkgs: "{{ cargopkgs + pkgconfig_nushell.pkgs[ansible_os_family] + pkgconfig_nushell.pkgs_common }}"