mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
Merge pull request #107958 from ztzg/x-16304-ubuntu-determinism
vmTools.debClosureGenerator: Fix non-determinism in dependency graph
This commit is contained in:
commit
82115f0c4b
|
@ -50,7 +50,7 @@ sub getDeps {
|
|||
# virtual dependencies.
|
||||
my %provides;
|
||||
|
||||
foreach my $cdata (values %packages) {
|
||||
foreach my $cdata (sort {$a->{Package} cmp $b->{Package}} (values %packages)) {
|
||||
if (defined $cdata->{Provides}) {
|
||||
my @provides = getDeps(Dpkg::Deps::deps_parse($cdata->{Provides}));
|
||||
foreach my $name (@provides) {
|
||||
|
|
Loading…
Reference in a new issue