mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 09:19:36 +01:00
dropEmptyInitThenConcatStringsSep -> concatStringSep: sigs are non-empty
The sigs field is produced by tokenizeStrings, which does not return empty strings.
This commit is contained in:
parent
3f37785afd
commit
75dde71ff9
2 changed files with 9 additions and 5 deletions
|
|
@ -7,6 +7,8 @@
|
|||
#include <sqlite3.h>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include "strings.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
static const char * schema = R"sql(
|
||||
|
|
@ -339,7 +341,7 @@ public:
|
|||
(info->narSize)
|
||||
(dropEmptyInitThenConcatStringsSep(" ", info->shortRefs()))
|
||||
(info->deriver ? std::string(info->deriver->to_string()) : "", (bool) info->deriver)
|
||||
(dropEmptyInitThenConcatStringsSep(" ", info->sigs))
|
||||
(concatStringsSep(" ", info->sigs))
|
||||
(renderContentAddress(info->ca))
|
||||
(time(0)).exec();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue