mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
zsh-git-prompt: python2 -> python3
This commit is contained in:
parent
831b9b4c36
commit
d4a769b6dc
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue