nix(feat): Add argbash bash completion support
This commit is contained in:
committed by
Wolfgang Walther
parent
c2df7d8198
commit
2559d32912
+10
-8
@@ -55,12 +55,14 @@ let
|
||||
${silver-searcher}/bin/ag -l --vimgrep -g '\.l?hs$' . \
|
||||
| xargs ${hlint}/bin/hlint -X QuasiQuotes -X NoPatternSynonyms
|
||||
'';
|
||||
|
||||
tools = [ style styleCheck lint ];
|
||||
|
||||
bashCompletion = builtins.map (tool: tool.bashCompletion) tools;
|
||||
|
||||
in
|
||||
buildEnv {
|
||||
name = "postgrest-devtools";
|
||||
paths = [
|
||||
style.bin
|
||||
styleCheck.bin
|
||||
lint.bin
|
||||
];
|
||||
}
|
||||
buildEnv
|
||||
{
|
||||
name = "postgrest-style";
|
||||
paths = builtins.map (tool: tool.bin) tools;
|
||||
} // { inherit bashCompletion; }
|
||||
|
||||
Reference in New Issue
Block a user