nix(feat): Add argbash bash completion support

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent c2df7d8198
commit 2559d32912
9 changed files with 113 additions and 68 deletions
+10 -4
View File
@@ -124,8 +124,14 @@ let
[ "$responseCode" -eq 200 ]
'';
tools = [ github dockerLogin dockerHub dockerHubDescription ];
bashCompletion = builtins.map (tool: tool.bashCompletion) tools;
in
buildEnv {
name = "postgrest-release";
paths = [ github.bin dockerLogin.bin dockerHub.bin dockerHubDescription.bin ];
}
buildEnv
{
name = "postgrest-release";
paths = builtins.map (tool: tool.bin) tools;
} // { inherit bashCompletion; }