mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 13:48:21 +03:00
Merge pull request #204177 from thiagokokada/zsh-git-prompt
zsh-git-prompt: python2 -> python3
This commit is contained in:
commit
cf61d1df81
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user