summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/libstore/local-store.cc2
-rw-r--r--nix/libstore/local-store.hh1
2 files changed, 2 insertions, 1 deletions
diff --git a/nix/libstore/local-store.cc b/nix/libstore/local-store.cc
index 46ce649fb0b..6b5c388efc9 100644
--- a/nix/libstore/local-store.cc
+++ b/nix/libstore/local-store.cc
@@ -1208,7 +1208,7 @@ static std::string readAuthenticateReply(int fd)
1208 if (code == 0) 1208 if (code == 0)
1209 return str; 1209 return str;
1210 else 1210 else
1211 throw Error(str); 1211 throw AuthenticationError(str);
1212} 1212}
1213 1213
1214/* Sign HASH with the key stored in file SECRETKEY. Return the signature as a 1214/* Sign HASH with the key stored in file SECRETKEY. Return the signature as a
diff --git a/nix/libstore/local-store.hh b/nix/libstore/local-store.hh
index 6a0def7412e..5dfe68f90a4 100644
--- a/nix/libstore/local-store.hh
+++ b/nix/libstore/local-store.hh
@@ -291,6 +291,7 @@ void canonicalisePathMetaData(const Path & path, uid_t fromUid);
291void canonicaliseTimestampAndPermissions(const Path & path); 291void canonicaliseTimestampAndPermissions(const Path & path);
292 292
293MakeError(PathInUse, Error); 293MakeError(PathInUse, Error);
294MakeError(AuthenticationError, Error);
294 295
295/* Size below which a file is not considered for deduplication. */ 296/* Size below which a file is not considered for deduplication. */
296/* Any file smaller than this is not considered for deduplication. 297/* Any file smaller than this is not considered for deduplication.