From 76d9127f92b314038f36c7d7525feb1d553ffc1c 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 5e0bd2f..9378eb4 100644 --- a/modules/age.nix +++ b/modules/age.nix @@ -232,7 +232,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 [