Rename runCommandNoCC
'runCommandNoCC' has been renamed to/replaced by 'runCommand'
This commit is contained in:
parent
64a9e9bb88
commit
f405280724
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@
|
|||
sops.secrets =
|
||||
let
|
||||
secretFile = config.sops.defaultSopsFile;
|
||||
getSecrets = file: builtins.fromJSON (builtins.readFile (pkgs.runCommandNoCC "secretKeys" { } ''${pkgs.yq-go}/bin/yq -o json '[del .sops | .. | select(tag != "!!seq" and tag != "!!map") | path | join("/")]' ${file} > $out''));
|
||||
getSecrets = file: builtins.fromJSON (builtins.readFile (pkgs.runCommand "secretKeys" { } ''${pkgs.yq-go}/bin/yq -o json '[del .sops | .. | select(tag != "!!seq" and tag != "!!map") | path | join("/")]' ${file} > $out''));
|
||||
secretNames = getSecrets secretFile;
|
||||
secrets =
|
||||
if builtins.pathExists secretFile then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue