mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 19:51:00 +01:00
Recursive build error....
This commit is contained in:
parent
16410fc714
commit
65ba1f3008
1 changed files with 18 additions and 1 deletions
|
|
@ -59,12 +59,29 @@ elsif ($ARGV[0] eq "--query-info") {
|
||||||
}
|
}
|
||||||
print "$storePath\n";
|
print "$storePath\n";
|
||||||
print "$info->{deriver}\n";
|
print "$info->{deriver}\n";
|
||||||
|
|
||||||
my @references = split " ", $info->{references};
|
my @references = split " ", $info->{references};
|
||||||
my $count = scalar @references;
|
my $count = scalar @references;
|
||||||
print "$count\n";
|
print "$count\n";
|
||||||
foreach my $reference (@references) {
|
foreach my $reference (@references) {
|
||||||
print "$reference\n";
|
print "$reference\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $isStateStorePath = `@bindir@/nix-state --is-state-store-path-download-using-manifests $storePath`;
|
||||||
|
if($isStateStorePath ne "true" && $isStateStorePath ne "false"){
|
||||||
|
die "The call for isStateStorePath must return true or false.....";
|
||||||
|
}
|
||||||
|
|
||||||
|
if($isStateStorePath eq "true"){
|
||||||
|
my @stateReferences = split " ", $info->{stateReferences};
|
||||||
|
my $scount = scalar @stateReferences;
|
||||||
|
print "$scount\n";
|
||||||
|
foreach my $stateReference (@stateReferences) {
|
||||||
|
print "$stateReference\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
print "$info->{revision}\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue