Skip to content

Commit f3dcae3

Browse files
jfrochesamrose
authored andcommitted
chore: replace (deprecated) substituteAll by replaceVars
1 parent 449c212 commit f3dcae3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nix/postgresql/generic.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let
2121
libxml2,
2222
tzdata,
2323
libkrb5,
24-
substituteAll,
24+
replaceVars,
2525
darwin,
2626
linux-pam,
2727
#orioledb specific
@@ -188,8 +188,7 @@ let
188188
./patches/specify_pkglibdir_at_runtime.patch
189189
./patches/paths-with-postgresql-suffix.patch
190190

191-
(substituteAll {
192-
src = ./patches/locale-binary-path.patch;
191+
(replaceVars ./patches/locale-binary-path.patch {
193192
locale = "${if stdenv.isDarwin then darwin.adv_cmds else lib.getBin stdenv.cc.libc}/bin/locale";
194193
})
195194
]

0 commit comments

Comments
 (0)