From 957c7c09186459dc001031b6bd92532bbb1d8d2b Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Thu, 13 Jan 2022 09:57:04 -0500 Subject: [PATCH] hashString (readFile ...) -> hashFile Co-authored-by: Winter <78392041+winterqt@users.noreply.github.com> --- modules/age.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/age.nix b/modules/age.nix index f9a8e9b..582fd5b 100644 --- a/modules/age.nix +++ b/modules/age.nix @@ -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 [