Skip to content

Commit 032437f

Browse files
author
catalan
committed
improvement of the note on fetchers to specify that the builtin fetchers and nixkgs fetchers are not the same
1 parent 9453098 commit 032437f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/tutorials/nix-language.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,9 @@ builtins.fetchTarball "https://github.com/NixOS/nix/archive/7c3ab5751568a0bc6343
18781878
```
18791879

18801880
:::{note}
1881-
The Nixpkgs manual on [Fetchers][nixpkgs-fetchers] lists numerous additional library functions to fetch files over the network.
1881+
Nixpkgs provides its own fetcher functions to achieve a more optimized evaluation. The Nixpkgs fetchers differ in some aspects and are therefore not directly interchangeable with builtin fetchers.
1882+
1883+
The Nixpkgs manual on [Fetchers][nixpkgs-fetchers] contains details on the differences between builtin fetchers and Nixpkgs fetchers. Nixpkgs also provides additional fetcher functions beyond the builtin ones. You can find the full list of fetchers provided by Nixpkgs in [Fetchers][nixpkgs-fetchers].
18821884
:::
18831885

18841886
It is an error if the network request fails.

0 commit comments

Comments
 (0)