Skip to content

Commit e109fc6

Browse files
authored
fix: clickhouse deps needs git on path to install and/or build (#1300)
Co-authored-by: Sam Rose <[email protected]>
1 parent 7db7e1a commit e109fc6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ansible/tasks/stage2-setup-postgres.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
# shell: |
44
# sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install nixpkgs#openjdk11"
55
# It was decided to leave pljava disabled at https://github.com/supabase/postgres/pull/690 therefore removing this task
6+
7+
- name: Install Git for Nix package management
8+
become: yes
9+
apt:
10+
name: git
11+
state: present
12+
update_cache: yes
13+
when: stage2_nix
14+
615
- name: Install Postgres from nix binary cache
716
become: yes
817
shell: |
@@ -34,6 +43,14 @@
3443
sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/{{ git_commit_sha }}#{{postgresql_version}}_src"
3544
when: stage2_nix
3645

46+
- name: Install Git for Nix package management
47+
become: yes
48+
apt:
49+
name: git
50+
state: present
51+
update_cache: yes
52+
when: stage2_nix
53+
3754
- name: Set ownership and permissions for /etc/ssl/private
3855
become: yes
3956
file:

0 commit comments

Comments
 (0)