awsume: use python instead of python3 in arguments

This commit is contained in:
Wroclaw
2025-04-03 16:40:23 +02:00
parent 82d3d25f6c
commit 581f060c7a

View File

@@ -1,6 +1,6 @@
{
lib,
python3,
python,
installShellFiles,
buildPythonApplication,
fetchFromGitHub,
@@ -44,9 +44,9 @@ buildPythonApplication rec {
postInstall = ''
installShellCompletion --cmd awsume \
--bash <(PYTHONPATH=./awsume/configure ${python3}/bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['bash'])") \
--zsh <(PYTHONPATH=./awsume/configure ${python3}/bin/python3 -c"import autocomplete; print(autocomplete.ZSH_AUTOCOMPLETE_FUNCTION)") \
--fish <(PYTHONPATH=./awsume/configure ${python3}/bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['fish'])") \
--bash <(PYTHONPATH=./awsume/configure ${python}/bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['bash'])") \
--zsh <(PYTHONPATH=./awsume/configure ${python}/bin/python3 -c"import autocomplete; print(autocomplete.ZSH_AUTOCOMPLETE_FUNCTION)") \
--fish <(PYTHONPATH=./awsume/configure ${python}/bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['fish'])") \
rm -f $out/bin/awsume.bat
'';