Skip to content

Commit

Permalink
remote/server: add note that proxyNarSource is a hack
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki committed Dec 11, 2023
1 parent fbc5599 commit e374687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hnix-store-remote/src/System/Nix/Store/Remote/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e374687

Please sign in to comment.