Make the location of the tarballs cache configurable

This commit is contained in:
Eelco Dolstra 2013-06-04 12:41:59 +02:00
parent ddfa0fa3eb
commit fca2f04bb1

View file

@ -1,6 +1,6 @@
#! /bin/sh -e
distDir=/data/webserver/tarballs
distDir=${NIX_TARBALLS_CACHE:-/tarballs}
url="$1"
file="$2"