mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Remove the localPaths feature in manifests since it's no longer used
and redundant anyway.
This commit is contained in:
parent
0423d0692a
commit
1e7e4f21ba
7 changed files with 10 additions and 47 deletions
|
@ -26,7 +26,6 @@ if (! -e $manifestDir) {
|
|||
|
||||
# Process the URLs specified on the command line.
|
||||
my %narFiles;
|
||||
my %localPaths;
|
||||
my %patches;
|
||||
|
||||
my $skipWrongStore = 0;
|
||||
|
@ -70,7 +69,7 @@ sub processURL {
|
|||
$manifest = downloadFile $url;
|
||||
}
|
||||
|
||||
my $version = readManifest($manifest, \%narFiles, \%localPaths, \%patches);
|
||||
my $version = readManifest($manifest, \%narFiles, \%patches);
|
||||
|
||||
die "`$url' is not a manifest or it is too old (i.e., for Nix <= 0.7)\n" if $version < 3;
|
||||
die "manifest `$url' is too new\n" if $version >= 5;
|
||||
|
@ -129,5 +128,5 @@ while (@ARGV) {
|
|||
}
|
||||
|
||||
|
||||
my $size = scalar (keys %narFiles) + scalar (keys %localPaths);
|
||||
my $size = scalar (keys %narFiles);
|
||||
print "$size store paths in manifest\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue