From 39c42cdc8c7b9d08feaf7ee5c59cea2c1b2bf868 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 24 Nov 2025 20:00:48 +0100 Subject: [PATCH] Use `builtins.fetchFinalTree` if available Unlike `fetchTree`, this allow inputs to be substituted (since the fetcher won't return any output attributes like `revCount` that weren't in the input attributes). --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 441c8bc..ca48147 100644 --- a/default.nix +++ b/default.nix @@ -18,7 +18,7 @@ let lockFile = builtins.fromJSON (builtins.readFile lockFilePath); fetchTree = - builtins.fetchTree or ( + builtins.fetchFinalTree or builtins.fetchTree or ( info: if info.type == "github" then {