Unverified Commit 1ac930de authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

{vimPlugins.sniprun,gdmd}: use replaceVars intead of substituteAll (#388753)

parents b06d85e0 83201a86
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@

  # sniprun
  vimUtils,
  substituteAll,
  replaceVars,
  nix-update-script,
}:
let
@@ -58,8 +58,7 @@ vimUtils.buildVimPlugin {
  inherit version src;

  patches = [
    (substituteAll {
      src = ./fix-paths.patch;
    (replaceVars ./fix-paths.patch {
      sniprun = lib.getExe sniprun-bin;
    })
  ];
+2 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  stdenvNoCC,
  fetchFromGitHub,
  substituteAll,
  replaceVars,
  gdc,
  perl,
}:
@@ -18,8 +18,7 @@ stdenvNoCC.mkDerivation {
  };

  patches = [
    (substituteAll {
      src = ./0001-gdc-store-path.diff;
    (replaceVars ./0001-gdc-store-path.diff {
      gdc_dir = "${gdc}/bin";
    })
  ];