c815aff21b
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'.
5 lines
107 B
Bash
5 lines
107 B
Bash
#! @shell@ -e
|
|
|
|
echo "downloading $url into $out"
|
|
|
|
@curl@ --fail --location --max-redirs 20 "$url" > "$out"
|