mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(ci): formatting
This commit is contained in:
parent
ef5306904c
commit
6e882b5342
11 changed files with 30 additions and 44 deletions
|
|
@ -16,6 +16,7 @@
|
|||
'';
|
||||
exportsFmtNix = ''
|
||||
NF_NIX_BLACKLIST_DIRS=(${string.concatMapSep " " string.escapeShellArg fmt.nix.blacklistDirs})
|
||||
NF_NIX_WHITELIST_DIRS=(${string.concatMapSep " " string.escapeShellArg fmt.nix.whitelistDirs})
|
||||
NF_NIX_WHITELIST_FILES=(${string.concatMapSep " " string.escapeShellArg fmt.nix.whitelist})
|
||||
'';
|
||||
output = {
|
||||
|
|
@ -110,6 +111,7 @@
|
|||
nf-alejandra = pkgs.writeShellScriptBin "nf-alejandra" ''
|
||||
${exports}
|
||||
${exportsFmtNix}
|
||||
export PATH="${makeBinPath [ packages.alejandra ]}:$PATH"
|
||||
source ${../ci/alejandra.sh}
|
||||
'';
|
||||
nf-lint-tf = pkgs.writeShellScriptBin "nf-lint-tf" ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue