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
72d63d37eb
commit
957c7c0918
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ in
|
|||
(lib.mapAttrsToList
|
||||
(name: {action, service, file, path, mode, owner, group, ...}:
|
||||
let
|
||||
fileHash = builtins.hashString "sha256" (builtins.readFile file);
|
||||
fileHash = builtins.hashFile "sha256" file;
|
||||
restartTriggers = [ fileHash path mode owner group ];
|
||||
in
|
||||
lib.mkMerge [
|
||||
|
|
Loading…
Reference in a new issue