lix/corepkgs/fetchurl/builder.sh.in
Eelco Dolstra c815aff21b * `nix-store --add-fixed' to preload the outputs of fixed-output
derivations.  This is mostly to simplify the implementation of
  nix-prefetch-{url, svn}, which now work properly in setuid
  installations.

* Enforce valid store names in `nix-store --add / --add-fixed'.
2005-04-07 14:01:51 +00:00

6 lines
107 B
Bash

#! @shell@ -e
echo "downloading $url into $out"
@curl@ --fail --location --max-redirs 20 "$url" > "$out"