Skip to content

Commit 7dedb19

Browse files
committed
fix: some programs are looking for items in /usr/bin
1 parent 741fde9 commit 7dedb19

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ansible-nix/tasks/stage2/stage2-setup-postgres.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@
115115
- "/home/postgres/.nix-profile/bin/*"
116116
become: yes
117117

118+
- name: Create symbolic links from /home/postgres/.nix-profile/bin to /usr/bin
119+
file:
120+
src: "{{ item }}"
121+
dest: "/usr/bin/{{ item | basename }}"
122+
state: link
123+
with_fileglob:
124+
- "/home/postgres/.nix-profile/bin/*"
125+
become: yes
118126

119127
- name: Create symbolic links from /home/postgres/.nix-profile/share/postgresql to /usr/lib/postgresql/share/postgresql
120128
file:

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.23-nix-staged"
1+
postgres-version = "15.6.1.24-nix-staged"

0 commit comments

Comments
 (0)