summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-06-12 16:26:53 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-06-12 16:26:53 +0000
commit4532e4b90da3f4410e3c6ea4766e4e8912aa2cab (patch)
tree801a34d25ca6db945742f1f1f175d025c1f396dd
parent2818b7cee6729043b9eeef5b6eb6bba68e93b1e7 (diff)
downloadguix-4532e4b90da3f4410e3c6ea4766e4e8912aa2cab.tar.gz
Added verbosity for nix-reduce-build
-rw-r--r--scripts/nix-reduce-build.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/nix-reduce-build.in b/scripts/nix-reduce-build.in
index 2fd946c654..b9c9b864fa 100644
--- a/scripts/nix-reduce-build.in
+++ b/scripts/nix-reduce-build.in
@@ -62,14 +62,17 @@ for i in "$@"; do
 	filePath="${i#file:/}";
 	if [ "$i" != "$sshHost" ]; then
 		cat needed-paths | while read; do 
+			echo "Getting $REPLY and its closure over ssh"
 			nix-copy-closure --from "$sshHost" --gzip "$REPLY" </dev/null || true; 
 		done;
 	elif [ "$i" != "$httpHost" ] || [ "$i" != "$httpsHost" ]; then
 		cat needed-paths | while read; do
+			echo "Getting $REPLY over http/https"
 			curl ${BAD_CERTIFICATE:+-k} -L "$i${REPLY##*/}" | gunzip | nix-store --import;
 		done;
 	elif [ "$i" != "filePath" ] ; then
 		cat needed-paths | while read; do 
+			echo "Installing $REPLY from file"
 			gunzip < "$filePath/${REPLY##*/}".nar.gz | nix-store --import;
 		done;
 	fi;