Skip to content

Commit e684ed7

Browse files
jfrochesamrose
authored andcommitted
chore: replace (deprecated) substituteAll by replaceVars
1 parent 99f097c commit e684ed7

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
@@ -190,8 +190,7 @@ let
190190
./patches/specify_pkglibdir_at_runtime.patch
191191
./patches/paths-with-postgresql-suffix.patch
192192

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

0 commit comments

Comments
 (0)