diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-06-12 16:26:53 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-06-12 16:26:53 +0000 |
commit | 4532e4b90da3f4410e3c6ea4766e4e8912aa2cab (patch) | |
tree | 801a34d25ca6db945742f1f1f175d025c1f396dd | |
parent | 2818b7cee6729043b9eeef5b6eb6bba68e93b1e7 (diff) | |
download | guix-4532e4b90da3f4410e3c6ea4766e4e8912aa2cab.tar.gz |
Added verbosity for nix-reduce-build
-rw-r--r-- | scripts/nix-reduce-build.in | 3 |
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; |