mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 11:08:30 +03:00
hashString (readFile ...) -> hashFile
Co-authored-by: Winter <78392041+winterqt@users.noreply.github.com>
This commit is contained in:
parent
cd108c08e8
commit
76d9127f92
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ in
|
||||||
(lib.mapAttrsToList
|
(lib.mapAttrsToList
|
||||||
(name: {action, service, file, path, mode, owner, group, ...}:
|
(name: {action, service, file, path, mode, owner, group, ...}:
|
||||||
let
|
let
|
||||||
fileHash = builtins.hashString "sha256" (builtins.readFile file);
|
fileHash = builtins.hashFile "sha256" file;
|
||||||
restartTriggers = [ fileHash path mode owner group ];
|
restartTriggers = [ fileHash path mode owner group ];
|
||||||
in
|
in
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
|
|
Loading…
Reference in a new issue