* Include the system type in manifests as a hint for the

binary patch generator.
This commit is contained in:
Eelco Dolstra
2010-11-26 14:34:58 +00:00
parent 0cee7c0909
commit a75a12e819
2 changed files with 10 additions and 1 deletions

View File

@ -33,6 +33,8 @@ sub process {
my $url = $c->stash->{narBase} . "/" . $escaped;
my $system = $c->stash->{systemForPath}->{$path};
$manifest .=
"{\n" .
" StorePath: $path\n" .
@ -41,6 +43,7 @@ sub process {
" NarURL: $url\n" .
" NarHash: $hash\n" .
($narSize != 0 ? " NarSize: $narSize\n" : "") .
(defined $system ? " System: $system\n" : "") .
"}\n";
}