Document builtins.fetchTree

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>

Supersedes #6740
This commit is contained in:
Michal Sojka 2023-06-11 21:36:56 +02:00 committed by Eelco Dolstra
parent 94e91566ed
commit db0d94560b

View file

@ -236,6 +236,10 @@ static RegisterPrimOp primop_fetchTree({
```nix ```nix
builtins.fetchTree "https://example.com/" builtins.fetchTree "https://example.com/"
``` ```
> **Note**
>
> This function requires the [`flakes` experimental feature](@docroot@/contributing/experimental-features.md#xp-feature-flakes) to be enabled.
)", )",
.fun = prim_fetchTree, .fun = prim_fetchTree,
.experimentalFeature = Xp::Flakes, .experimentalFeature = Xp::Flakes,