aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-11-18 19:03:45 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-11-18 19:03:45 +0000
commitd94118628919ee5b6d8e52cd6dcf89ba13a54360 (patch)
tree9ab76bdb5d03d838d9866aa387cc44280e3d1eff /scripts
parent0541ddc7e33c35a35efe85b6d6f603efb5bac8c8 (diff)
* Show more progress.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nix-channel.in4
1 files changed, 3 insertions, 1 deletions
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;