mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 02:58:30 +03:00
fix: added double quotes to substituteSecret in home-manager module to prevent SC2086 being raised
This commit is contained in:
parent
f2725cda13
commit
3478f03f17
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ with lib; let
|
|||
|
||||
substituteSecret = secretType:
|
||||
builtins.concatStringsSep "\n" (builtins.map (file: ''
|
||||
${pkgs.gnused}/bin/sed -i "s#@${secretType.name}@#$(cat ${secretType.path})#" ${file}
|
||||
${pkgs.gnused}/bin/sed -i "s#@${secretType.name}@#$(cat "${secretType.path}")#" ${file}
|
||||
'')
|
||||
secretType.substitutions);
|
||||
|
||||
|
|
Loading…
Reference in a new issue