about summary refs log tree commit diff
path: root/scripts/maintenance
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-01-23T16·50+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-01-23T16·50+0000
commitbae75ca5a18edbb9fb959e2e48065a1987ffb61a (patch)
treec1b169f6f290cb1e4c412a61051dd3a1ee987bc5 /scripts/maintenance
parent36d9258c0dbfeab095dc5727b6ebcb55afacb0a6 (diff)
* New kind of manifest object: "localPath", which denotes that a store
  path can be created by copying it from another location in the file
  system.  This is useful in the NixOS installation.

Diffstat (limited to 'scripts/maintenance')
-rwxr-xr-xscripts/maintenance/gc-releases.pl3
-rwxr-xr-xscripts/maintenance/shrink-manifest.pl3
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/maintenance/gc-releases.pl b/scripts/maintenance/gc-releases.pl
index 80b2726c5a..b8abb03477 100755
--- a/scripts/maintenance/gc-releases.pl
+++ b/scripts/maintenance/gc-releases.pl
@@ -7,11 +7,12 @@ use readcache;
 
 # Read the manifests.
 my %narFiles;
+my %localPaths;
 my %patches;
 
 foreach my $manifest (@ARGV) {
     print STDERR "loading $manifest\n";
-    if (readManifest($manifest, \%narFiles, \%patches, 1) < 3) {
+    if (readManifest($manifest, \%narFiles, \%localPaths, \%patches, 1) < 3) {
 #        die "manifest `$manifest' is too old (i.e., for Nix <= 0.7)\n";
     }
 }
diff --git a/scripts/maintenance/shrink-manifest.pl b/scripts/maintenance/shrink-manifest.pl
index 7be5814488..60cf9c5b46 100755
--- a/scripts/maintenance/shrink-manifest.pl
+++ b/scripts/maintenance/shrink-manifest.pl
@@ -6,11 +6,12 @@ use readcache;
 
 
 my %allNarFiles;
+my %allLocalPaths;
 my %allPatches;
 
 foreach my $manifest (glob "/data/webserver/dist/*/*/MANIFEST") {
     print STDERR "loading $manifest\n";
-    readManifest($manifest, \%allNarFiles, \%allPatches, 1);
+    readManifest($manifest, \%allNarFiles, \%allLocalPaths, \%allPatches, 1);
 }