File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 26
26
when : is_psql_oriole and stage2_nix
27
27
become : yes
28
28
29
+ - name : Install Git for Nix package management
30
+ become : yes
31
+ apt :
32
+ name : git
33
+ state : present
34
+ update_cache : yes
35
+ when : stage2_nix
36
+
37
+
29
38
- name : Install Postgres from nix binary cache
30
39
become : yes
31
40
shell : |
56
65
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"
57
66
when : stage2_nix
58
67
68
+ - name : Remove Git after Nix package installations
69
+ become : yes
70
+ apt :
71
+ name : git
72
+ state : absent
73
+ autoremove : yes
74
+ purge : yes
75
+ when : stage2_nix
76
+
59
77
- name : Set ownership and permissions for /etc/ssl/private
60
78
become : yes
61
79
file :
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ buildPgrxExtension_0_12_6 rec {
30
30
} ;
31
31
32
32
nativeBuildInputs = [ pkg-config cargo ] ;
33
- buildInputs = [ openssl postgresql git ] ++ lib . optionals ( stdenv . isDarwin ) [
33
+ buildInputs = [ openssl postgresql ] ++ lib . optionals ( stdenv . isDarwin ) [
34
34
darwin . apple_sdk . frameworks . CoreFoundation
35
35
darwin . apple_sdk . frameworks . Security
36
36
darwin . apple_sdk . frameworks . SystemConfiguration
You can’t perform that action at this time.
0 commit comments