diff options
Diffstat (limited to 'doc/functions/prefer-remote-fetch.xml')
-rw-r--r-- | doc/functions/prefer-remote-fetch.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/functions/prefer-remote-fetch.xml b/doc/functions/prefer-remote-fetch.xml index 2ccad9218062c..3e43fd28ade8c 100644 --- a/doc/functions/prefer-remote-fetch.xml +++ b/doc/functions/prefer-remote-fetch.xml @@ -10,16 +10,16 @@ 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> +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 -<programlisting> - $ mkdir ~/.config/nixpkgs/overlays/ - $ cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF - self: super: super.prefer-remote-fetch self super - EOF - </programlisting> +<screen> +<prompt>$ </prompt>mkdir ~/.config/nixpkgs/overlays/ +<prompt>$ </prompt>cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF + self: super: super.prefer-remote-fetch self super +EOF +</screen> </para> </section> |