zsh-git-prompt: python2 -> python3

This commit is contained in:
Thiago Kenji Okada 2022-12-02 21:03:42 +00:00
parent 831b9b4c36
commit d4a769b6dc

View file

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