about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/remote-store.cc2
-rw-r--r--src/nix-worker/nix-worker.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index ce99c205e7d0..6e9921ede79f 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -332,7 +332,7 @@ PathSet RemoteStore::queryDerivationOutputNames(const Path & path)
     writeInt(wopQueryDerivationOutputNames, to);
     writeString(path, to);
     processStderr();
-    return readStringSet(from);
+    return readStrings<PathSet>(from);
 }
 
 
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc
index 68567f341e05..f28905a24b8d 100644
--- a/src/nix-worker/nix-worker.cc
+++ b/src/nix-worker/nix-worker.cc
@@ -337,7 +337,7 @@ static void performOp(unsigned int clientVersion,
         StringSet names;
         names = store->queryDerivationOutputNames(path);
         stopWork();
-        writeStringSet(names, to);
+        writeStrings(names, to);
         break;
     }