1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00

* When doing "nix-store --add-fixed" without "--recursive" via the Nix

daemon (which is an error), print a nicer error message than
  "Connection reset by peer" or "broken pipe".
* In the daemon, log errors that occur during request parameter
  processing.
This commit is contained in:
Eelco Dolstra 2011-12-01 13:48:48 +00:00
parent be9be4c147
commit 24f863d86b
3 changed files with 16 additions and 6 deletions

View file

@ -328,7 +328,7 @@ Path RemoteStore::addToStore(const Path & _srcPath,
openConnection();
Path srcPath(absPath(_srcPath));
writeInt(wopAddToStore, to);
writeString(baseNameOf(srcPath), to);
/* backwards compatibility hack */