about summary refs log tree commit diff
path: root/scripts/nix-pack-closure.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-pack-closure.in')
-rw-r--r--scripts/nix-pack-closure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/nix-pack-closure.in b/scripts/nix-pack-closure.in
index bc58097e25c1..8d9ecf126200 100644
--- a/scripts/nix-pack-closure.in
+++ b/scripts/nix-pack-closure.in
@@ -50,6 +50,9 @@ while (@ARGV) {
 }
 
 
+close TOPLEVEL or die;
+
+
 foreach my $storePath (sort(keys %storePaths)) {
     print STDERR "packing `$storePath'...\n";