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

Implement buildDerivation() via the daemon

This commit is contained in:
Eelco Dolstra 2015-09-03 12:56:59 +02:00
parent 6e06a18d1b
commit 71a5161365
5 changed files with 34 additions and 2 deletions

View file

@ -248,6 +248,13 @@ Source & operator >> (Source & in, string & s)
}
Source & operator >> (Source & in, unsigned int & n)
{
n = readInt(in);
return in;
}
template<class T> T readStrings(Source & source)
{
unsigned int count = readInt(source);

View file

@ -143,6 +143,7 @@ string readString(Source & source);
template<class T> T readStrings(Source & source);
Source & operator >> (Source & in, string & s);
Source & operator >> (Source & in, unsigned int & n);
MakeError(SerialisationError, Error)