Merge pull request #204177 from thiagokokada/zsh-git-prompt

zsh-git-prompt: python2 -> python3
This commit is contained in:
figsoda 2022-12-02 16:39:03 -05:00 committed by GitHub
commit cf61d1df81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
# installed.
#
{ fetchFromGitHub
, python2
, python3
, git
, lib
, haskellPackages
@ -45,7 +45,7 @@ haskellPackages.callPackage
prePatch = ''
substituteInPlace zshrc.sh \
--replace ':-"python"' ':-"haskell"' \
--replace 'python ' '${python2.interpreter} ' \
--replace 'python ' '${python3.interpreter} ' \
--replace 'git ' '${git}/bin/git '
'';
preCompileBuildDriver = "cd src";