From 581f060c7a70b17709d282f4e8a006c616fc9b66 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Thu, 3 Apr 2025 16:40:23 +0200 Subject: [PATCH] awsume: use python instead of python3 in arguments --- pkgs/tools/admin/awsume/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/admin/awsume/default.nix b/pkgs/tools/admin/awsume/default.nix index 1916ebaf1f45..98cba0c23403 100644 --- a/pkgs/tools/admin/awsume/default.nix +++ b/pkgs/tools/admin/awsume/default.nix @@ -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 '';