nixpkgs/pkgs/stdenv/nix-linux-static/scripts/download-script

14 lines
162 B
Plaintext
Raw Normal View History

set -x
set -e
echo $curl
$curl/bin/curl "$url" > .tmp
$gunzip -d < .tmp | $tar xvf -
$cp -prvd * $out
if test -n "$postprocess"; then
source $postprocess
fi