mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* Canonicalise manifests a bit by sorting them.
This commit is contained in:
parent
9d3bee50ad
commit
5168f9bb00
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ sub writeManifest
|
||||||
print MANIFEST " ManifestVersion: 3\n";
|
print MANIFEST " ManifestVersion: 3\n";
|
||||||
print MANIFEST "}\n";
|
print MANIFEST "}\n";
|
||||||
|
|
||||||
foreach my $storePath (keys %{$narFiles}) {
|
foreach my $storePath (sort (keys %{$narFiles})) {
|
||||||
my $narFileList = $$narFiles{$storePath};
|
my $narFileList = $$narFiles{$storePath};
|
||||||
foreach my $narFile (@{$narFileList}) {
|
foreach my $narFile (@{$narFileList}) {
|
||||||
print MANIFEST "{\n";
|
print MANIFEST "{\n";
|
||||||
|
@ -189,7 +189,7 @@ sub writeManifest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach my $storePath (keys %{$patches}) {
|
foreach my $storePath (sort (keys %{$patches})) {
|
||||||
my $patchList = $$patches{$storePath};
|
my $patchList = $$patches{$storePath};
|
||||||
foreach my $patch (@{$patchList}) {
|
foreach my $patch (@{$patchList}) {
|
||||||
print MANIFEST "patch {\n";
|
print MANIFEST "patch {\n";
|
||||||
|
|
Loading…
Reference in a new issue