about summary refs log tree commit diff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-10-27T10·54+0200
committerEelco Dolstra <edolstra@gmail.com>2018-10-27T10·54+0200
commit63575ffa38650d84aaec04d7447f92cf06db52a5 (patch)
treed75eefdf9e6b879ae93bfad95740360184915b47 /src/libstore/local-store.cc
parent2cf98218c81c7563ba4c7a6016ffe6f5437678c4 (diff)
parented25753501a7a3f77c097df01db299bdb60ede96 (diff)
Merge branch 'nix-doctor' of https://github.com/LnL7/nix
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 197b9d78995b..216f3417c4a8 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1338,6 +1338,12 @@ void LocalStore::verifyPath(const Path & path, const PathSet & store,
 }
 
 
+unsigned int LocalStore::getProtocol()
+{
+    return PROTOCOL_VERSION;
+}
+
+
 #if defined(FS_IOC_SETFLAGS) && defined(FS_IOC_GETFLAGS) && defined(FS_IMMUTABLE_FL)
 
 static void makeMutable(const Path & path)