Skip to content

Commit e374687

Browse files
committed
remote/server: add note that proxyNarSource is a hack
1 parent fbc5599 commit e374687

File tree

1 file changed

+2
-0
lines changed
  • hnix-store-remote/src/System/Nix/Store/Remote

1 file changed

+2
-0
lines changed

hnix-store-remote/src/System/Nix/Store/Remote/Server.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ processConnection workerHelper postGreet sock = do
124124

125125
special <- case req of
126126
AddToStore {} -> do
127+
-- This is a hack (but a pretty neat and fast one!)
128+
-- it should parse nad stream NAR instead
127129
let proxyNarSource :: NarSource IO
128130
proxyNarSource f =
129131
liftIO

0 commit comments

Comments
 (0)