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:
parent
be9be4c147
commit
24f863d86b
3 changed files with 16 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue