File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,8 @@ get_pg_cron_version() {
51
51
return
52
52
fi
53
53
54
- # Run jq from nixpkgs
55
54
local version
56
- version=$( nix run nixpkgs#jq -- -r ' .pg_cron // empty' " /root/pg_extensions.json" )
55
+ version=$( jq -r ' .pg_cron // empty' " /root/pg_extensions.json" )
57
56
if [ -z " $version " ]; then
58
57
log " pg_cron: Not specified in extensions file"
59
58
return
Original file line number Diff line number Diff line change 98
98
- name : Install jq from nix binary cache
99
99
become : yes
100
100
shell : |
101
- sudo -u postgres bash -c " . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install nixpkgs#jq"
101
+ . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install nixpkgs#jq --profile /nix/var/nix/profiles/default
102
102
when : stage2_nix
103
103
104
104
- name : Set ownership and permissions for /etc/ssl/private
You can’t perform that action at this time.
0 commit comments