mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* Add a version number to manifests.
This commit is contained in:
parent
8d3c346559
commit
8376fff151
3 changed files with 16 additions and 2 deletions
|
@ -42,7 +42,9 @@ sub processURL {
|
|||
"'$url' > '$manifest'") == 0
|
||||
or die "curl failed: $?";
|
||||
|
||||
readManifest $manifest, \%narFiles, \%patches, \%successors;
|
||||
if (readManifest($manifest, \%narFiles, \%patches, \%successors) < 3) {
|
||||
die "manifest `$url' is too old (i.e., for Nix <= 0.7)\n";
|
||||
}
|
||||
|
||||
my $baseName = "unnamed";
|
||||
if ($url =~ /\/([^\/]+)\/[^\/]+$/) { # get the forelast component
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue