Skip to content

Commit 83201a8

Browse files
committed
vimPlugins.sniprun: use replaceVars intead of substituteAll
1 parent 15c5832 commit 83201a8

File tree

1 file changed

+2
-3
lines changed
  • pkgs/applications/editors/vim/plugins/non-generated/sniprun

1 file changed

+2
-3
lines changed

pkgs/applications/editors/vim/plugins/non-generated/sniprun/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# sniprun
1616
vimUtils,
17-
substituteAll,
17+
replaceVars,
1818
nix-update-script,
1919
}:
2020
let
@@ -58,8 +58,7 @@ vimUtils.buildVimPlugin {
5858
inherit version src;
5959

6060
patches = [
61-
(substituteAll {
62-
src = ./fix-paths.patch;
61+
(replaceVars ./fix-paths.patch {
6362
sniprun = lib.getExe sniprun-bin;
6463
})
6564
];

0 commit comments

Comments
 (0)