1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

Don't hide repeated values while generating manifest.nix

Fixes #6243.
This commit is contained in:
Eelco Dolstra 2022-03-22 13:18:11 +01:00
parent 732296ddc0
commit a0259a21a4
4 changed files with 32 additions and 18 deletions

View file

@ -119,10 +119,13 @@ private:
InternalType internalType;
friend std::string showType(const Value & v);
friend void printValue(std::ostream & str, std::set<const void *> & seen, const Value & v);
void print(std::ostream & str, std::set<const void *> * seen) const;
public:
void print(std::ostream & str, bool showRepeated = false) const;
// Functions needed to distinguish the type
// These should be removed eventually, by putting the functionality that's
// needed by callers into methods of this type