about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/download.cc1
-rw-r--r--src/nix-store/nix-store.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 22bde086e6a2..78fcdc62189a 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -301,6 +301,7 @@ struct CurlDownloader : public Downloader
                         || code == CURLE_COULDNT_RESOLVE_HOST
                         || code == CURLE_RECV_ERROR
 #if LIBCURL_VERSION_NUM >= 0x073200
+                        || code == CURLE_HTTP2
                         || code == CURLE_HTTP2_STREAM
 #endif
                         ) ? Transient :
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 024fa4168ebb..3dc167191c83 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -882,7 +882,7 @@ static void opServe(Strings opFlags, Strings opArgs)
                 break;
             }
 
-            case cmdBuildPaths: { /* Used by build-remote.pl. */
+            case cmdBuildPaths: {
 
                 if (!writeAllowed) throw Error("building paths is not allowed");
                 PathSet paths = readStorePaths<PathSet>(*store, in);