From d94118628919ee5b6d8e52cd6dcf89ba13a54360 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 18 Nov 2006 19:03:45 +0000 Subject: [PATCH] * Show more progress. --- scripts/nix-channel.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in index e3abc7ea5..73096a12b 100644 --- a/scripts/nix-channel.in +++ b/scripts/nix-channel.in @@ -81,7 +81,7 @@ sub update { # Pull cache manifests. foreach my $url (@channels) { - print "pulling cache manifest from `$url'\n"; + #print "pulling cache manifest from `$url'\n"; system("@bindir@/nix-pull", "--skip-wrong-store", "$url/MANIFEST") == 0 or die "cannot pull cache manifest from `$url'"; } @@ -92,6 +92,7 @@ sub update { my $nixExpr = "["; foreach my $url (@channels) { my $fullURL = "$url/nixexprs.tar.bz2"; + print "downloading Nix expressions from `$fullURL'...\n"; $ENV{"PRINT_PATH"} = 1; my ($hash, $path) = `@bindir@/nix-prefetch-url '$fullURL' 2> /dev/null`; die "cannot fetch `$fullURL'" if $? != 0; @@ -111,6 +112,7 @@ sub update { my $rootFile = "$rootsDir/$userName"; # Instantiate the Nix expression. + print "unpacking channel Nix expressions...\n"; my $storeExpr = `echo '$nixExpr' | @bindir@/nix-instantiate --add-root '$rootFile'.tmp -` or die "cannot instantiate Nix expression"; chomp $storeExpr;