about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-02 16:39:03 -0500
committerGitHub <noreply@github.com>2022-12-02 16:39:03 -0500
commitcf61d1df816834c86880b1c55df6122bc3a8f49a (patch)
treefd09c4775806b5a965196ae181d5aec86d33556c /pkgs/shells
parent7ceefed039fffb1af6d0c1b8e84543234c7d9510 (diff)
parentd4a769b6dcb29854ab80329c64300cc7cef53c2a (diff)
Merge pull request #204177 from thiagokokada/zsh-git-prompt
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";