mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 07:52:43 +01:00
* `nix --dump' command.
This commit is contained in:
parent
aeaffec785
commit
38e12df631
2 changed files with 28 additions and 4 deletions
|
|
@ -21,7 +21,8 @@ struct MySink : DumpSink
|
|||
{
|
||||
virtual void operator () (const unsigned char * data, unsigned int len)
|
||||
{
|
||||
cout.write((char *) data, len);
|
||||
/* Don't use cout, it's slow as hell! */
|
||||
write(STDOUT_FILENO, (char *) data, len);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue