From e374687467a6e0c32594d37f9531e9f1ba7965d9 Mon Sep 17 00:00:00 2001 From: sorki Date: Mon, 11 Dec 2023 15:29:13 +0100 Subject: [PATCH] remote/server: add note that proxyNarSource is a hack --- hnix-store-remote/src/System/Nix/Store/Remote/Server.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hnix-store-remote/src/System/Nix/Store/Remote/Server.hs b/hnix-store-remote/src/System/Nix/Store/Remote/Server.hs index f6d1387..e22b3a7 100644 --- a/hnix-store-remote/src/System/Nix/Store/Remote/Server.hs +++ b/hnix-store-remote/src/System/Nix/Store/Remote/Server.hs @@ -124,6 +124,8 @@ processConnection workerHelper postGreet sock = do special <- case req of AddToStore {} -> do + -- This is a hack (but a pretty neat and fast one!) + -- it should parse nad stream NAR instead let proxyNarSource :: NarSource IO proxyNarSource f = liftIO