From e43400c7a3128b032fae4b648b0fe511cf29f2d3 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 24 Jan 2026 08:42:10 +0000 Subject: [PATCH] lib: do not export non-existent `hasFile` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `hasFile` does not exist at least in `nix-2.32`. I suspect it was a typo of a nearby `hashFile`. Noticed as an eval failure: nix-repl> lib.hasFile error: … while evaluating the attribute 'hasFile' at lib/default.nix:113:9: 112| hashString 113| hasFile | ^ 114| parseDrvName error: attribute 'hasFile' missing at lib/default.nix:113:9: 112| hashString 113| hasFile | ^ 114| parseDrvName Did you mean hashFile? --- lib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/default.nix b/lib/default.nix index 1bfd5b9ac8b1..7d074084e0dd 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -110,7 +110,6 @@ let hasContext convertHash hashString - hasFile parseDrvName placeholder fromJSON