diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-12-09 19:36:54 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-12-09 19:36:54 +0000 |
commit | 7ca997263680025a7cf5386a44efcb0a9949315e (patch) | |
tree | 78875522ac069f4dc0c0c1ef539216a5b0db3487 /scripts/nix-channel.in | |
parent | c4c84d1edb4e0dd4ed77a9b2d1386834cdfaaa34 (diff) |
* When doing a nix-pull, remove old manifests downloaded from the same
URL. This prevents lots of old cruft accumulating in
/nix/var/nix/manifests.
Diffstat (limited to 'scripts/nix-channel.in')
-rw-r--r-- | scripts/nix-channel.in | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in index db5d35c6e..3688063cb 100644 --- a/scripts/nix-channel.in +++ b/scripts/nix-channel.in @@ -88,11 +88,6 @@ sub update { # source. if (-W "$stateDir/manifests") { - # Remove all the old manifests. - for my $manifest (glob "$stateDir/manifests/*.nixmanifest") { - unlink $manifest or die "cannot remove `$manifest': $!"; - } - # Pull cache manifests. foreach my $url (@channels) { #print "pulling cache manifest from `$url'\n"; |