Unverified Commit c69f204d authored by Bjørn Forsman's avatar Bjørn Forsman Committed by GitHub
Browse files

tig: prefer git that's in PATH over the bundled one (#489353)

parents 24c9a1e6 f66438c6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -73,8 +73,9 @@ stdenv.mkDerivation (finalAttrs: {
    # ZSH can be used (Completion/Unix/Command/_git: "_tig () { _git-log }"):
    #install -D contrib/tig-completion.zsh $out/share/zsh/site-functions/_tig

    # Prefer the git in PATH, but add a fallback one in case there isn't one.
    wrapProgram $out/bin/tig \
      --prefix PATH ':' "${git}/bin"
      --suffix PATH ':' "${git}/bin"
  '';

  outputs = [