Skip to main content

Module fetcher_builtins

Module fetcher_builtins 

Source

Functionsยง

builtin_fetch_git ๐Ÿ”’
builtin_fetch_tarball ๐Ÿ”’
builtin_fetchurl ๐Ÿ”’
builtin_parse_flake_ref ๐Ÿ”’
builtins
fetch_lazy ๐Ÿ”’
Consumes a fetch. If there is enough info to calculate the store path without fetching, queue the fetch to be fetched lazily, and return the store path. If thereโ€™s not enough info to calculate it, do the fetch now, and then return the store path. Note the builtins.typeof of fetchurl and fetchTarball are not โ€œpathโ€, but โ€œstringโ€, to stay bug-compatible with Nix.