about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2022-12-02 21:03:42 +0000
committerThiago Kenji Okada <thiagokokada@gmail.com>2022-12-02 21:04:33 +0000
commitd4a769b6dcb29854ab80329c64300cc7cef53c2a (patch)
tree0f6bbf56986ca4c8bb9c876262fb4685f422782b /pkgs/shells
parent831b9b4c3628f1c2858b4ec82e1de4a2ecba2c9c (diff)
zsh-git-prompt: python2 -> python3
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/zsh-git-prompt/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/shells/zsh/zsh-git-prompt/default.nix b/pkgs/shells/zsh/zsh-git-prompt/default.nix
index 6af5fe7cc66c8..f9e5633476ab9 100644
--- a/pkgs/shells/zsh/zsh-git-prompt/default.nix
+++ b/pkgs/shells/zsh/zsh-git-prompt/default.nix
@@ -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";