mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 22:46:16 +02:00
Merge remote-tracking branch 'origin/master' into flakes
This commit is contained in:
commit
5446eae949
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ struct CmdVerify : StorePathsCommand
|
||||||
bool noContents = false;
|
bool noContents = false;
|
||||||
bool noTrust = false;
|
bool noTrust = false;
|
||||||
Strings substituterUris;
|
Strings substituterUris;
|
||||||
size_t sigsNeeded;
|
size_t sigsNeeded = 0;
|
||||||
|
|
||||||
CmdVerify()
|
CmdVerify()
|
||||||
{
|
{
|
||||||
|
@ -108,7 +108,7 @@ struct CmdVerify : StorePathsCommand
|
||||||
else {
|
else {
|
||||||
|
|
||||||
StringSet sigsSeen;
|
StringSet sigsSeen;
|
||||||
size_t actualSigsNeeded = sigsNeeded ? sigsNeeded : 1;
|
size_t actualSigsNeeded = std::max(sigsNeeded, (size_t) 1);
|
||||||
size_t validSigs = 0;
|
size_t validSigs = 0;
|
||||||
|
|
||||||
auto doSigs = [&](StringSet sigs) {
|
auto doSigs = [&](StringSet sigs) {
|
||||||
|
|
Loading…
Reference in a new issue