mirror of
https://github.com/NixOS/nix
synced 2025-07-05 16:31:47 +02:00
dropEmptyInitThenConcatStringsSep -> concatStringSep: store paths are not empty
This commit is contained in:
parent
49d100ba8b
commit
f1966e22d9
4 changed files with 9 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "store-api.hh"
|
||||
#include "json-utils.hh"
|
||||
#include "comparator.hh"
|
||||
#include "strings.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
@ -30,7 +31,7 @@ std::string ValidPathInfo::fingerprint(const Store & store) const
|
|||
"1;" + store.printStorePath(path) + ";"
|
||||
+ narHash.to_string(HashFormat::Nix32, true) + ";"
|
||||
+ std::to_string(narSize) + ";"
|
||||
+ dropEmptyInitThenConcatStringsSep(",", store.printStorePathSet(references));
|
||||
+ concatStringsSep(",", store.printStorePathSet(references));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue