lib: do not export non-existent hasFile

`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?
This commit is contained in:
Sergei Trofimovich
2026-01-24 08:43:20 +00:00
parent 659742fdf8
commit e43400c7a3
-1
View File
@@ -110,7 +110,6 @@ let
hasContext
convertHash
hashString
hasFile
parseDrvName
placeholder
fromJSON