diff options
Diffstat (limited to 'doc/functions/prefer-remote-fetch.xml')
-rw-r--r-- | doc/functions/prefer-remote-fetch.xml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/functions/prefer-remote-fetch.xml b/doc/functions/prefer-remote-fetch.xml index 3e43fd28ade8c..94d25d3d3aeb6 100644 --- a/doc/functions/prefer-remote-fetch.xml +++ b/doc/functions/prefer-remote-fetch.xml @@ -5,16 +5,12 @@ <title>prefer-remote-fetch overlay</title> <para> - <function>prefer-remote-fetch</function> is an overlay that download sources - on remote builder. This is useful when the evaluating machine has a slow - upload while the builder can fetch faster directly from the source. To use - it, put the following snippet as a new overlay: + <function>prefer-remote-fetch</function> is an overlay that download sources on remote builder. This is useful when the evaluating machine has a slow upload while the builder can fetch faster directly from the source. To use it, put the following snippet as a new overlay: <programlisting> self: super: (super.prefer-remote-fetch self super) </programlisting> - A full configuration example for that sets the overlay up for your own - account, could look like this + A full configuration example for that sets the overlay up for your own account, could look like this <screen> <prompt>$ </prompt>mkdir ~/.config/nixpkgs/overlays/ <prompt>$ </prompt>cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF |