From e9f9b9b0935e7c12f42328e1ef1e5de22d2a45a9 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 29 Nov 2021 19:34:15 -0800 Subject: [PATCH] inputs isn't a list --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 057a196..0348cba 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,8 @@ latest-modified-timestamp = head (sort (a: b: a > b) (filter (timestamp: timestamp != null) - (map (input: toInt input.lastModifiedDate) inputs))); + (map (input: toInt input.lastModifiedDate) + (attrValues inputs)))); concat-timestamp = timestamp: toInt (substring 0 10 (toString timestamp));