1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-16 02:01:59 +02:00

Merge branch 'nix-doctor' of https://github.com/LnL7/nix

This commit is contained in:
Eelco Dolstra 2018-10-27 12:54:22 +02:00
commit 63575ffa38
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
7 changed files with 139 additions and 0 deletions

View file

@ -599,6 +599,12 @@ public:
a notion of connection. Otherwise this is a no-op. */
virtual void connect() { };
/* Get the protocol version of this store or it's connection. */
virtual unsigned int getProtocol()
{
return 0;
};
/* Get the priority of the store, used to order substituters. In
particular, binary caches can specify a priority field in their
"nix-cache-info" file. Lower value means higher priority. */