about summary refs log tree commit diff
path: root/scripts/nix-channel.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-channel.in')
-rw-r--r--scripts/nix-channel.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in
index 6a4603976fb9..1ef9c58447b3 100644
--- a/scripts/nix-channel.in
+++ b/scripts/nix-channel.in
@@ -76,10 +76,6 @@ sub removeChannel {
 sub update {
     readChannels;
 
-    # Get rid of all the old substitutes.
-    system("@bindir@/nix-store", "--clear-substitutes") == 0
-        or die "cannot clear substitutes";
-
     # Remove all the old manifests.
     for my $manifest (glob "$stateDir/manifests/*.nixmanifest") {
         unlink $manifest or die "cannot remove `$manifest': $!";